Created
September 5, 2015 18:48
-
-
Save evantbyrne/2172fa1ff574a25135a6 to your computer and use it in GitHub Desktop.
How to use go generate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//go:generate echo Generate | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Main") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It runs shell commands. Usage: