Documentation
¶
Index ¶
- Constants
- func CheckAndCreateFile(filePath string, flag int, perm os.FileMode) (*os.File, error)
- func Env() string
- func GetValueOnEnv(prod, test interface{}) interface{}
- func Int64Ptr(v int64) *int64
- func IsTest() bool
- func MaxInt64(a, b int64) int64
- func MinInt64(a, b int64) int64
- func WrapError(format string, args ...any) string
- func WrapInfo(format string, args ...any) string
- func WrapWarn(format string, args ...any) string
- type Lru
- type UnboundChan
Constants ¶
View Source
const ( ERROR = "\033[1;31;40m[ERROR] %s\033[0m" WARN = "\033[1;33;40m[WARN] %s\033[0m" INFO = "\033[1;34;40m[INFO] %s\033[0m" )
Variables ¶
This section is empty.
Functions ¶
func CheckAndCreateFile ¶
func GetValueOnEnv ¶
func GetValueOnEnv(prod, test interface{}) interface{}
Types ¶
type Lru ¶
type Lru struct {
// contains filtered or unexported fields
}
type UnboundChan ¶
type UnboundChan struct {
// contains filtered or unexported fields
}
func NewUnboundChan ¶
func NewUnboundChan() *UnboundChan
func (*UnboundChan) Close ¶
func (uc *UnboundChan) Close()
func (*UnboundChan) In ¶
func (uc *UnboundChan) In()
func (*UnboundChan) Len ¶
func (uc *UnboundChan) Len() int64
func (*UnboundChan) Out ¶
func (uc *UnboundChan) Out() bool
Click to show internal directories.
Click to hide internal directories.