checkpoint

This commit is contained in:
aljazbrodar. 2026-01-15 15:46:38 +01:00
parent dadc137833
commit 3856635345
7 changed files with 241 additions and 35 deletions

View file

@ -5,10 +5,10 @@ import (
)
func main() {
i := "tes,"
if i[len(i)-1] == ',' {
fmt.Println("hi")
} else {
fmt.Println("world")
}
ut := make(map[string]int)
ut["nov"] = 300
val, ok := ut["nov"]
fmt.Println(val, ok)
val2, ok2 := ut["nova"]
fmt.Println(val2, ok2)
}