Documentation ¶
Index ¶
- func CheckUsername(s string) (name, phone, email string, ok bool)
- func IsEmail(s string) bool
- func IsPhone(s string) bool
- func IsUsername(s string) bool
- func MicroHandlerContextWithValue(k, v interface{}) server.HandlerWrapper
- func MicroSubscriberContextWithValue(k, v interface{}) server.SubscriberWrapper
- func RepoErrorFilter(result *gorm.DB) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUsername ¶
CheckUsername as name/phone/email
func MicroHandlerContextWithValue ¶
func MicroHandlerContextWithValue(k, v interface{}) server.HandlerWrapper
MicroHandlerContextWithValue Util
func MicroSubscriberContextWithValue ¶
func MicroSubscriberContextWithValue(k, v interface{}) server.SubscriberWrapper
MicroSubscriberContextWithValue Util
func RepoErrorFilter ¶
RepoErrorFilter Utils - gate will not import this utils
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.