package
0.0.0-20240926215053-69aed98de6b8
Repository: https://github.com/solher/toolbox.git
Documentation: pkg.go.dev
# Functions
MarshalNullDate marshals a types.NullDate for GqlGen.
MarshalNullInt64 marshals a types.NullInt64 for GqlGen.
MarshalNullString marshals a types.NullString for GqlGen.
MarshalNullTimestamp marshals a types.NullTimestamp for GqlGen.
MarshalString marshals a string for GqlGen.
NewErrorGenerator returns an GraphQL error generator.
UnmarshalNullDate unmarshals a types.NullDate for GqlGen.
UnmarshalNullInt64 unmarshals a types.NullInt64 for GqlGen.
UnmarshalNullString unmarshals a types.NullString for GqlGen.
UnmarshalNullTimestamp unmarshals a types.NullTimestamp for GqlGen.
UnmarshalString unmarshals a string for GqlGen.
# Variables
ErrForbidden indicates that the user has a valid session but he is missing some permissions.
ErrInternal indicates an unexpected internal error.
ErrNotFound indicates that the requested resource was not found.
ErrUnauthorized indicates that the user does not have a valid associated session.
ErrUnavailable indicates that the desired service is unavailable.
ErrValidation indicates that some received parameters are invalid.
# Type aliases
ErrorGenerator generates a GraphQL error.