The var keyword in Go The var keyword in Golang is used to create variables of a specific type with a specific name and initial value. Initialization is optional at the time of declaring the variable using the var keyword in Golang