title: Go map of functions
body: <p>I have Go program that has a function defined. I also have a map that should have a key for each function. How can I do that?</p>
  
  <p>I have tried this, but this doesn't work.</p>
  
  <pre>
  func a(param string) {
  
  }
  
  m := map[string] func {
      'a_func': a,
  }
  
  for key, value := range m {
     if key == 'a_func' {
      value(param) 
     }
  }
  </pre>