Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct { FirstName string `db:"first_name"` LastName string `db:"last_name"` EmailID string `db:"email"` Username string `db:"username"` Password string `db:"password"` }
Person data type
func (*Person) ComparePassword ¶
ComparePassword :Compares person password
type PersonInput ¶
type PersonResolver ¶
type PersonResolver struct {
Person
}
func (PersonResolver) EmailID ¶
func (p PersonResolver) EmailID() string
func (PersonResolver) FirstName ¶
func (p PersonResolver) FirstName() string
func (PersonResolver) LastName ¶
func (p PersonResolver) LastName() string
func (PersonResolver) Username ¶
func (p PersonResolver) Username() string
Click to show internal directories.
Click to hide internal directories.