map size

Run Settings
LanguageGo
Language Version
Run Command
// :glot package main import "fmt" func main() { // :show start m := map[string]int{} size := len(m) fmt.Printf("Size of empty map: %d\n\n", size) m["foo"] = 1 size = len(m) fmt.Printf("Size of map: %d\n\n", size) // :show end }
Editor Settings
Theme
Key bindings
Full width
Lines