go: Add support for semicolon insertion