diff --git a/_content/blog/maps.md b/_content/blog/maps.md index 2766ed1338..a2d36d3f46 100644 --- a/_content/blog/maps.md +++ b/_content/blog/maps.md @@ -37,7 +37,7 @@ A nil map behaves like an empty map when reading, but attempts to write to a nil map will cause a runtime panic; don't do that. To initialize a map, use the built in `make` function: - m = make(map[string]int) + m := make(map[string]int) The `make` function allocates and initializes a hash map data structure and returns a map value that points to it.