Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllLanguages = []Languages{ LanguagesFr, LanguagesEn, }
Functions ¶
This section is empty.
Types ¶
type Languages ¶
type Languages string
func (Languages) MarshalGQL ¶
func (*Languages) UnmarshalGQL ¶
type PrivateUser ¶
type PrivateUser struct {
UserInfo *User `json:"userInfo"`
}
PrivateUser represents the logged in user
func NewUserPrivateFromDB ¶
func NewUserPrivateFromDB(user repository.User) *PrivateUser
NewUserPrivateFromDB create a new User from a repository.User struct
type User ¶
User represents the User type in GraphQL
func NewUserFromDB ¶
func NewUserFromDB(user repository.User) *User
NewUserFromDB create a new User from a repository.User struct
type UserConnection ¶
type UserEdge ¶
UserEdge represents the UserEdge type in GraphQL
func NewUserEdgesFromModel ¶
NewUserEdgesFromModel creates new []*UserEdge from a []*User
type UserUpdateInput ¶
type UserUpdateInput struct {
Name *string `json:"name,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.