Programming Code Center(PCC)
[GO]

(PCC)::[how-check-type-correctness-of-function-calls-in-go-language]::[go]

File Name : variables.go

package main

import "fmt"

func main() {

    var a = "initial"
    fmt.Println(a)

    var b, c int = 1, 2
    fmt.Println(b, c)

    var d = true
    fmt.Println(d)

    var e int
    fmt.Println(e)

    f := "apple"
    fmt.Println(f)
}

Output :

variables.jpg