Skip to content

Merge pull request #62 from dedis/registration #53

Merge pull request #62 from dedis/registration

Merge pull request #62 from dedis/registration #53

Triggered via push January 8, 2024 17:06
Status Failure
Total duration 36s
Artifacts

server_lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: server/registration/registry/user/user.go#L38
Error return value of `w.Write` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L45
Error return value of `picture.Read` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L62
Error return value of `w.Write` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L68
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L77
Error return value of `w.Write` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L89
Error return value of `w.Write` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L93
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L101
Error return value of `w.Write` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L123
Error return value of `w.Write` is not checked (errcheck)
lint: server/registration/registry/user/user.go#L131
Error return value of `picture.Read` is not checked (errcheck)
lint: server/registration/registry/registry.go#L3
var-naming: type DocId should be DocID (revive)
lint: server/registration/registry/registry.go#L16
var-naming: type RegistrationId should be RegistrationID (revive)
lint: server/registration/registry/registry.go#L17
var-naming: struct field Id should be ID (revive)
lint: server/registration/registry/admin/admin.go#L15
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/registration/registry/admin/admin.go#L18
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/registration/registry/admin/admin.go#L21
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/registration/registry/user/user.go#L58
var-naming: var docId should be docID (revive)
lint: server/registration/registry/user/user.go#L82
var-naming: var regId should be regID (revive)
lint: server/registration/registry/user/user.go#L104
var-naming: var regId should be regID (revive)
lint: server/registration/registry/user/user.go#L166
var-naming: var regId should be regID (revive)