Documentation
¶
Index ¶
- func BytePtr(b byte) *byte
- func EnvOrDefault(key, defaultValue string) string
- func ErrToStrPtr(err error) *string
- func Int64Ptr(i int64) *int64
- func MustParseDBUrl(dbUrl string) gorm.Dialector
- func ParseDBUrl(dbUrl string) (dialector gorm.Dialector, err error)
- func ReplaceDotWithDash(s string) string
- func StringPtr(s string) *string
- func Uint32Ptr(i uint32) *uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvOrDefault ¶
EnvOrDefault returns the value of the environment variable named by the key. If the variable is not present, it returns the default value.
func ErrToStrPtr ¶
func MustParseDBUrl ¶
func ReplaceDotWithDash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.