update and simplify go implementation
update and simplify go implementation

rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations,rubyists/ebeats-implementations