Golang ProgramsGolang Programs

How to declare empty Map in Go?

In this example an empty map employee is declared outside main function.
package main

import "fmt"

var employee = map[string]int{}

func main() {
    fmt.Println(employee)
}
C:\golang\maps>go run example1.go
map[]

C:\golang\maps>