Adicionar números em Go
// declares file as main package
package main
//packages required to run this file
import (
"fmt"
)
// low level languages like GO use main function to start the program
func main() {
//start executing from here
// var x int = 5 also does the same thing but this is easier to read
x := 5
// you dont need to declare the type of variable!
y := 7
//makes a variable named sum which has the value of X + Y
sum := x + y
//prints the value of SUM
fmt.Println(sum)
}
Grotesque Gerenuk