comparison pkg/models/sr.go @ 1328:d753ce6cf588

To make golint happier made context.Context to be the first argument in all calls.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 25 Nov 2018 16:26:41 +0100
parents 1c0c9190fcf2
children 785f14264426
comparison
equal deleted inserted replaced
1327:cabf4789e02b 1328:d753ce6cf588
71 m.EPSG = WGS84 71 m.EPSG = WGS84
72 } 72 }
73 return err 73 return err
74 } 74 }
75 75
76 func (m *SoundingResultMeta) Validate(conn *sql.Conn, ctx context.Context) []error { 76 func (m *SoundingResultMeta) Validate(ctx context.Context, conn *sql.Conn) []error {
77 77
78 var errs []error 78 var errs []error
79 79
80 var b bool 80 var b bool
81 err := conn.QueryRowContext(ctx, 81 err := conn.QueryRowContext(ctx,