Mercurial > gemma
comparison pkg/imports/stsh.go @ 5020:e4ab338e7ba9
Removed unnecessary creatings of empty slices in expressing read dependencies in imports.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 14 Mar 2020 20:11:10 +0100 |
parents | 046a07a33b19 |
children | 59a99655f34d |
comparison
equal
deleted
inserted
replaced
5019:dc3d648bdf4a | 5020:e4ab338e7ba9 |
---|---|
48 func (stshJobCreator) AutoAccept() bool { return false } | 48 func (stshJobCreator) AutoAccept() bool { return false } |
49 | 49 |
50 func (stshJobCreator) Create() Job { return new(StretchShape) } | 50 func (stshJobCreator) Create() Job { return new(StretchShape) } |
51 | 51 |
52 func (stshJobCreator) Depends() [2][]string { | 52 func (stshJobCreator) Depends() [2][]string { |
53 return [2][]string{ | 53 return [2][]string{{"stretches", "stretch_countries"}} |
54 {"stretches", "stretch_countries"}, | |
55 {}, | |
56 } | |
57 } | 54 } |
58 | 55 |
59 const ( | 56 const ( |
60 stshInsertSQL = ` | 57 stshInsertSQL = ` |
61 INSERT INTO users.stretches ( | 58 INSERT INTO users.stretches ( |