diff 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
line wrap: on
line diff
--- a/pkg/models/sr.go	Sun Nov 25 15:56:07 2018 +0100
+++ b/pkg/models/sr.go	Sun Nov 25 16:26:41 2018 +0100
@@ -73,7 +73,7 @@
 	return err
 }
 
-func (m *SoundingResultMeta) Validate(conn *sql.Conn, ctx context.Context) []error {
+func (m *SoundingResultMeta) Validate(ctx context.Context, conn *sql.Conn) []error {
 
 	var errs []error