Documentation ¶
Index ¶
- func CheckTTL(t time.Time, ttl int) bool
- func ConvertIntToInt32Pointer(i int) *int32
- func ConvertIntToInt64(i int) int64
- func ConvertIntToInt64Pointer(i int) *int64
- func ConvertIntToIntPointer(i int) *int
- func Float32PointerToFloat64Pointer(f *float32) *float64
- func Float32ToFloat64Pointer(f float32) *float64
- func GetEnv(key, fallback string) string
- func IntToBool(b int) bool
- func NewBool(b bool) *bool
- func NewDBCtx(ctx context.Context, timeout int) (context.Context, context.CancelFunc)
- func NewPGConn() *gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertIntToInt64 ¶
func ConvertIntToIntPointer ¶
func Float32ToFloat64Pointer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.