Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllPhotoCategory = []PhotoCategory{ PhotoCategorySelfie, PhotoCategoryPortrait, PhotoCategoryAction, PhotoCategoryLandscape, PhotoCategoryGraphic, }
Functions ¶
This section is empty.
Types ¶
type AuthPayload ¶
type PhotoCategory ¶
type PhotoCategory string
const ( PhotoCategorySelfie PhotoCategory = "SELFIE" PhotoCategoryPortrait PhotoCategory = "PORTRAIT" PhotoCategoryAction PhotoCategory = "ACTION" PhotoCategoryLandscape PhotoCategory = "LANDSCAPE" PhotoCategoryGraphic PhotoCategory = "GRAPHIC" )
func (PhotoCategory) IsValid ¶
func (e PhotoCategory) IsValid() bool
func (PhotoCategory) MarshalGQL ¶
func (e PhotoCategory) MarshalGQL(w io.Writer)
func (PhotoCategory) String ¶
func (e PhotoCategory) String() string
func (*PhotoCategory) UnmarshalGQL ¶
func (e *PhotoCategory) UnmarshalGQL(v interface{}) error
type PostPhotoInput ¶
type PostPhotoInput struct { Name string `json:"name"` Category *PhotoCategory `json:"category"` Description *string `json:"description"` File graphql.Upload `json:"file"` }
Click to show internal directories.
Click to hide internal directories.