github.com/sercand/please@v13.4.0+incompatible/test/go_rules/go_rules_test_bin.go (about) 1 // Used for testing the builtin Go rules. 2 package main 3 4 import "os" 5 import "github.com/thought-machine/please/test/go_rules/test" 6 7 func main() { 8 if test.GetAnswer() == 42 { 9 os.Exit(0) 10 } else { 11 os.Exit(1) 12 } 13 }