This is a package to communicate with Chrome extension using native messaging api in go.
go install github.com/lhside/chrome-go
Read message from standard input.
msg, err := chrome.Receive(os.Stdin)
Post message to standard output
err := chrome.Post(msg, os.Stdout)