transformations

package
v0.0.0-...-2e80e89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func DBUserToGQLUser(i *dbm.User) *gql.User

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

func GothUserToDBUser(i *goth.User, update bool, ids ...string) (o *dbm.User, err error)

GothUserToDBUser transforms [user] goth to db model

func GothUserToDBUserProfile

func GothUserToDBUserProfile(i *goth.User, update bool, ids ...int) (o *dbm.UserProfile, err error)

GothUserToDBUserProfile transforms [user] goth to db model

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL