How to use time.Parse with string Go? : <p>I have func use to get hour . </p>

<pre><code>func GetHourFromAPI(lastUpdate string) int   {
    t, err := time.Parse(time.RFC3339, lastUpdate)
    var hourTime = t.Hour()
    if err != nil {
        fmt.Println(err)
    }
    return hourTime
}
</code></pre>

<p>lastUpdate is type string like this : "20190925141100"
I tried parse lastUpdate with type RFC3339 and get hour . But , system return t= 0001-01-01 00:00:00 +0000 . My issue at time.Parse ? what i am missing ?</p>
