Functions
Functions in Go can take zero or more arguments. Notice that the type comes after the variable name — x int, not int x. That’s different from C or Java, but you’ll get used to it fast.
In this example, add takes two int parameters and returns an int.
(Curious why types are written this way? The Go declaration syntax article explains the reasoning.)