fix: add yaml tags to models so we can unmarshal camelCase (#148)
This commit is contained in:
@ -16,8 +16,8 @@ import (
|
||||
|
||||
// Users struct for Users
|
||||
type Users struct {
|
||||
Links *UsersLinks `json:"links,omitempty"`
|
||||
Users *[]UserResponse `json:"users,omitempty"`
|
||||
Links *UsersLinks `json:"links,omitempty" yaml:"links,omitempty"`
|
||||
Users *[]UserResponse `json:"users,omitempty" yaml:"users,omitempty"`
|
||||
}
|
||||
|
||||
// NewUsers instantiates a new Users object
|
||||
|
||||
Reference in New Issue
Block a user