Mercurial > gemma
comparison pkg/imports/st.go @ 1924:0ff9bd32c34c
Fixed 'go vet' issue.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 20 Jan 2019 14:43:40 +0100 |
parents | 3dca0ee97da6 |
children | f9f1babe52ae |
comparison
equal
deleted
inserted
replaced
1922:e06cdc5ef4e5 | 1924:0ff9bd32c34c |
---|---|
150 ) (interface{}, error) { | 150 ) (interface{}, error) { |
151 | 151 |
152 start := time.Now() | 152 start := time.Now() |
153 | 153 |
154 if st.Date.Time.IsZero() { | 154 if st.Date.Time.IsZero() { |
155 st.Date = models.Date{start} | 155 st.Date = models.Date{Time: start} |
156 } | 156 } |
157 | 157 |
158 feedback.Info("Storing stretch '%s'", st.Name) | 158 feedback.Info("Storing stretch '%s'", st.Name) |
159 | 159 |
160 if len(st.Countries) == 0 { | 160 if len(st.Countries) == 0 { |