title: How to declare a constant map in Golang?
body: <p>I am trying to declare to constant in Go, but it is throwing an error. Could anyone please help me with the syntax of declaring a constant in Go?</p>
  
  <p>This is my code: </p>
  
  <pre><code>const romanNumeralDict map[int]string = {
    1000: "M",
    900 : "CM",
    500 : "D",
    400 : "CD",
    100 : "C",
    90  : "XC",
    50  : "L",
    40  : "XL",
    10  : "X",
    9   : "IX",
    5   : "V",
    4   : "IV",
    1   : "I",
  }
  </code></pre>
  
  <p>This is the error</p>
  
  <pre><code># command-line-arguments
  ./Roman_Numerals.go:9: syntax error: unexpected {
  </code></pre>