...
Command gotext
gotext is a tool for managing text in Go source code.
Usage:
gotext command [arguments]
The commands are:
extract extract strings to be translated from code
Use "go help [command]" for more information about a command.
Additional help topics:
Use "gotext help [topic]" for more information about that topic.
Extract strings to be translated from code
Usage:
go extract <package>*