22 lines
211 B
Go
22 lines
211 B
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)
|
||
|
}
|