Documentation
¶
Index ¶
- Variables
- func Base64Decode(str string) (string, bool)
- func Base64DecodeByte(str string) ([]byte, bool)
- func Base64Encode(str string) string
- func BuildToken(envSecret string) string
- func DefaultHeaders(envSecret string) map[string]string
- func GetBool(v interface{}) bool
- func GetByteArray(v interface{}) []byte
- func GetFloat64(v interface{}) float64
- func GetInt(v interface{}) int
- func GetInt64(v interface{}) int64
- func GetInt64Slices(v interface{}) []int64
- func GetString(v interface{}) string
- func HeaderBuilderFor(headers map[string]string) http.Header
- func IfKeyBelongsPercentage(key string, percentageRange []float64) bool
- func IsNum(s string) bool
- func PercentageOfKey(key string) float64
- func StringsToInterfaces(keys []string) []interface{}
- func ToBool(str string) bool
- func ToInt64(value interface{}) (d int64)
- func ToStr(value interface{}, args ...int) (s string)
- type Queue
- type StrTo
- func (f StrTo) Bool() (bool, error)
- func (f *StrTo) Clear()
- func (f StrTo) Exist() bool
- func (f StrTo) Float32() (float32, error)
- func (f StrTo) Float64() (float64, error)
- func (f StrTo) Int() (int, error)
- func (f StrTo) Int16() (int16, error)
- func (f StrTo) Int32() (int32, error)
- func (f StrTo) Int64() (int64, error)
- func (f StrTo) Int8() (int8, error)
- func (f *StrTo) Set(v string)
- func (f StrTo) String() string
- func (f StrTo) Uint() (uint, error)
- func (f StrTo) Uint16() (uint16, error)
- func (f StrTo) Uint32() (uint32, error)
- func (f StrTo) Uint64() (uint64, error)
- func (f StrTo) Uint8() (uint8, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeLoc = time.Local
Functions ¶
func Base64Decode ¶
func Base64DecodeByte ¶
func Base64Encode ¶
func BuildToken ¶
func DefaultHeaders ¶
DefaultHeaders set default header for ffc request
func GetByteArray ¶
func GetByteArray(v interface{}) []byte
func GetFloat64 ¶
func GetFloat64(v interface{}) float64
func GetInt64Slices ¶
func GetInt64Slices(v interface{}) []int64
func HeaderBuilderFor ¶
HeaderBuilderFor convert http config header to request headers @Param httpConfig @Return http headers
func IfKeyBelongsPercentage ¶
func PercentageOfKey ¶
func StringsToInterfaces ¶
func StringsToInterfaces(keys []string) []interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.