comparison pkg/imports/dmv.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
53 func (dmvJobCreator) AutoAccept() bool { return true } 53 func (dmvJobCreator) AutoAccept() bool { return true }
54 54
55 func (dmvJobCreator) Create() Job { return new(DistanceMarksVirtual) } 55 func (dmvJobCreator) Create() Job { return new(DistanceMarksVirtual) }
56 56
57 func (dmvJobCreator) Depends() [2][]string { 57 func (dmvJobCreator) Depends() [2][]string {
58 return [2][]string{ 58 return [2][]string{{"distance_marks_virtual"}}
59 {"distance_marks_virtual"},
60 {},
61 }
62 } 59 }
63 60
64 // StageDone does nothing as there is no staging for distance marks virtual. 61 // StageDone does nothing as there is no staging for distance marks virtual.
65 func (dmvJobCreator) StageDone(context.Context, *sql.Tx, int64) error { return nil } 62 func (dmvJobCreator) StageDone(context.Context, *sql.Tx, int64) error { return nil }
66 63