package main import ( "fmt") func isEven(a int) bool { return a & 1 == 0;} func main() { fmt.Println(isEven(8))}
Standard input is empty
true
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!