Documentation ¶
Index ¶
- type MetaResolver
- type ProductListResolver
- type ProductSchema
- func (p *ProductSchema) Category() *categorySchema.CategorySchema
- func (p *ProductSchema) Created() *graphql.Time
- func (p *ProductSchema) CreatorID() string
- func (p *ProductSchema) CreatorIP() string
- func (p *ProductSchema) Deleted() *graphql.Time
- func (p *ProductSchema) EditorID() string
- func (p *ProductSchema) EditorIP() string
- func (p *ProductSchema) ID() graphql.ID
- func (p *ProductSchema) IsDeleted() *bool
- func (p *ProductSchema) LastModified() *graphql.Time
- func (p *ProductSchema) Name() string
- func (p *ProductSchema) Quantity() int32
- type ProductSchemaInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaResolver ¶
type MetaResolver struct { PageField *int32 LimitField *int32 TotalRecordsField *int32 TotalPagesField *int32 }
MetaResolver struct
func (*MetaResolver) TotalRecords ¶
func (p *MetaResolver) TotalRecords() *int32
TotalRecords function
type ProductListResolver ¶
type ProductListResolver struct { ProductsField []*ProductSchema MetaField *MetaResolver }
ProductListResolver struct
func (*ProductListResolver) Products ¶
func (p *ProductListResolver) Products() []*ProductSchema
Products function
type ProductSchema ¶
ProductSchema resolver
func (*ProductSchema) Category ¶
func (p *ProductSchema) Category() *categorySchema.CategorySchema
Category function
func (*ProductSchema) LastModified ¶
func (p *ProductSchema) LastModified() *graphql.Time
LastModified function
Click to show internal directories.
Click to hide internal directories.