Comment construire un exécutable avec un nom autre que Golang paquet

Est-il possible de construire (installer, aller le chercher, etc) un exécutable avec le nom foobar si mon Golang nom du package est l'une des opérations suivantes:

  • github.com/username/go-foobar
  • github.com/username/foobar-tools

et a main.go dans le package racine?

  • go build -o foobar github.com/username/go-foobar?