update gofmt

Signed-off-by: yuswift <yuswift2018@gmail.com>
This commit is contained in:
yuswift
2021-07-15 10:10:27 +08:00
parent 8b7a7b3342
commit cd30e6eba5
12 changed files with 25 additions and 25 deletions

View File

@@ -102,7 +102,7 @@ type Pipeline struct {
func UnmarshalPipeline(total int, data []byte) (pipelineList *PipelineList, err error) {
pipelineList = &PipelineList{Total: total}
pipelineList.Items = make([]Pipeline, total)
for i, _ := range pipelineList.Items {
for i := range pipelineList.Items {
pipelineList.Items[i].WeatherScore = 100
}
err = json.Unmarshal(data, &pipelineList.Items)