update lint rules and fix some warnings

This commit is contained in:
Nicola Murino
2021-11-27 17:04:13 +01:00
parent 18ab757216
commit 3e478f42ea
9 changed files with 34 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ type UserFilters struct {
UserType string `json:"user_type,omitempty"`
}
// BaseUser defines the shared user fields
type BaseUser struct {
// Data provider unique identifier
ID int64 `json:"id"`