2
1
Fork 0

variables

main
Sebastian Steger 2025-08-20 06:35:24 +00:00
parent 84bd504425
commit e2a2fce990
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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)
}