title: golang ini file output with flags
body: <p>I would like to write an application config in go using flags and then have it writeout into an .ini file.</p>
  
  <p>I've done this with JSON files, but can't figure out the ini.</p>
  
  <p>Any suggestions?</p>
  
  <p>Ini file will look like so:</p>
  
  <pre><code>Name=*flag input
  
  [Output]
  Mode=*flag input
  
  [Input]
  BaseCX=*flag input
  BaseCY=*flag input
  Common=*flag input
  </code></pre>
  
  <p>Can't figure it out. </p>