title: Convert a MySQL datetime string to time.Time format
body: <p>I just cant manage to parse an SQL datetime (MySQL) value into a <code>time.Time</code> value. I cant find the layout fitting sql datetime. And also not really understand how this works.</p>
  
  <p>I do imagine I'am not the first struggling with this, though i cant really find how I should make this work.</p>
  
  <p>Input:</p>
  
  <pre><code>2015-12-23 00:00:00
  </code></pre>
  
  <p>Desired output:</p>
  
  <pre><code>1450825200
  </code></pre>
  
  <p>Code</p>
  
  <pre><code>time, err := time.Parse(time.SomeSqlDateTimeLayout, "2015-12-23 00:00:00")
  timestamp := time.Unix()
  </code></pre>