Documentation ¶
Index ¶
- func FormateValidationError(err error) []*types.RequestError
- func GenerateUUID() string
- func GetClient(ctx context.Context) (*mongo.Client, error)
- func GetCollection(ctx context.Context, collectionName string) (*mongo.Collection, error)
- func GetDatabase(ctx context.Context) (*mongo.Database, error)
- func GetUserDataFromToken(tokenString string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormateValidationError ¶
func FormateValidationError(err error) []*types.RequestError
func GenerateUUID ¶
func GenerateUUID() string
func GetCollection ¶
func GetUserDataFromToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.