Documentation ¶
Index ¶
- func DBUserProfileToGQLUserProfile(i *dbm.UserProfile) *gql.UserProfile
- func DBUserToGQLUser(i *dbm.User) *gql.User
- func GQLInputUserToDBUser(i *gql.UserInput, update bool, u *dbm.User, ids ...string) (o *dbm.User, err error)
- func GothUserToDBUser(i *goth.User, update bool, ids ...string) (o *dbm.User, err error)
- func GothUserToDBUserProfile(i *goth.User, update bool, ids ...int) (o *dbm.UserProfile, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBUserProfileToGQLUserProfile ¶
func DBUserProfileToGQLUserProfile(i *dbm.UserProfile) *gql.UserProfile
DBUserProfileToGQLUserProfile transforms [user] db input to gql type
func DBUserToGQLUser ¶
DBUserToGQLUser transforms [user] db input to gql type
func GQLInputUserToDBUser ¶
func GQLInputUserToDBUser(i *gql.UserInput, update bool, u *dbm.User, ids ...string) (o *dbm.User, err error)
GQLInputUserToDBUser transforms [user] gql input to db model
func GothUserToDBUser ¶
GothUserToDBUser transforms [user] goth to db model
func GothUserToDBUserProfile ¶
GothUserToDBUserProfile transforms [user] goth to db model
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.