Documentation ¶
Index ¶
- func GenerateCSRFState() (string, error)
- func GenerateFileName(fn string) (string, error)
- func GenerateSlug(uuid string) string
- func IsDev() bool
- func IsLocal() bool
- func IsProd() bool
- func NullStringToStringP(s sql.NullString) *string
- func StringPToString(s *string) string
- func StringToNullString(s string) sql.NullString
- func ToCampusType(i uint8) (consts.CampusType, error)
- func ToClubType(i uint8) (consts.ClubType, error)
- func ToUserType(s string) (consts.UserType, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCSRFState ¶
func GenerateFileName ¶
func GenerateSlug ¶
func NullStringToStringP ¶
func NullStringToStringP(s sql.NullString) *string
func StringPToString ¶
func StringToNullString ¶
func StringToNullString(s string) sql.NullString
func ToCampusType ¶
func ToCampusType(i uint8) (consts.CampusType, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.