Documentation
¶
Index ¶
Constants ¶
View Source
const Schema = `` /* 1329-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonFilter ¶
type CommonFilter struct {
Limit *int
Page *int
Search *string
Sort *string
ShowAll *bool
OrderBy *string
}
CommonFilter basic filter model
type Meta ¶
type Meta struct {
Page int `json:"page"`
Limit int `json:"limit"`
TotalRecords int `json:"totalRecords"`
TotalPages int `json:"totalPages"`
}
Meta model
type RequestUser ¶
RequestUser model
type ResponseUser ¶
type ResponseUser struct {
ID string `json:"id"`
Field string `json:"field"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
ResponseUser model
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
func (*Root) Subscription ¶
func (r *Root) Subscription() interface{}
type UserListResolver ¶
type UserListResolver struct {
Meta Meta
Data []ResponseUser
}
UserListResolver resolver
Click to show internal directories.
Click to hide internal directories.