Documentation ¶
Index ¶
- func CheckPhoneIsValid(fl validator.FieldLevel) bool
- func CheckPwdIsValid(hashedPwd string, originPwd string) error
- func EncryptionPassword(originPwd string) (string, error)
- func FormatTime(pTime time.Time) string
- func FormatTimeMilliSec(pTime time.Time) string
- func FormatTimeNormal(pTime time.Time) string
- func GenValidateCode(width int) string
- func GetContentType(fileName string) (contentType string)
- func GoTime2ProtoTime(goTime time.Time) *timestamp.Timestamp
- func HttpResponse(ctx *gin.Context, status int, data interface{}, msg string)
- func NewInt64Point(val int64) *int64
- func NewStringPoint(val string) *string
- func ProtoTime2GoTime(protoTime *timestamp.Timestamp) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPwdIsValid ¶
func EncryptionPassword ¶
func FormatTime ¶
func FormatTimeMilliSec ¶
func FormatTimeNormal ¶
func GetContentType ¶
func NewInt64Point ¶
func NewStringPoint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.