Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProviderSet contains all provider from util package ProviderSet wire.ProviderSet = wire.NewSet( ProvideSnowflake, ) )
Functions ¶
func BirthdayFromStr ¶
BirthdayFromStr parses string to time.Time using birthdayTimeLayout
func BirthdayFromTime ¶
BirthdayFromTime parses time to string using birthdayTimeLayout
func ProvideSnowflake ¶
ProvideSnowflake produces *snowflake.Node
func WrapErrorWithMsg ¶
WrapErrorWithMsg creates *Error by wrapping error with a custom message
Types ¶
type Error ¶
Error is a custom error
func NewErrorFromMsg ¶
NewErrorFromMsg creates *Error from string
Click to show internal directories.
Click to hide internal directories.