Documentation ¶
Index ¶
- func BoolI(input interface{}) *bool
- func CheckErr(err error)
- func DateTimeNowInt() string
- func DirOrFileExists(path string) (bool, error)
- func FileToBase64(path string) ([]byte, error)
- func Float(input string) float64
- func FloatFromJson(input interface{}) float64
- func FloatI(input interface{}) *float64
- func FloatInterface(input interface{}) float64
- func GetActualDays() ([]time.Time, error)
- func GetActualStartEndDays(month int) (string, string)
- func GetDaysByPeriod(beginDay string, endDay string) ([]time.Time, error)
- func GetDaysFromMonth(year int, month time.Month) ([]string, error)
- func GetDaysFromYearMonth(yearMonth string) ([]time.Time, error)
- func GetDaysFromYearMonthInt(yearMonth int64) ([]time.Time, error)
- func GetEnv(key, fallback string) string
- func GetWeekDayByYearMonth(yearMonth int64) (map[int]time.Time, error)
- func Int(input string) int
- func Int64(input string) int64
- func Int64I(input interface{}) *int64
- func IntI(input interface{}) *int
- func RecursiveZip(outputZip, inputPath string) error
- func SplitDbAndTable(s string) (string, string)
- func StringI(input interface{}) *string
- func Time(input string) time.Time
- func TimeByTimeZone(input, zone string) time.Time
- func TimeI(input interface{}, layout string) *time.Time
- func ToJsonBytes(input interface{}) []byte
- func UniRequestId(inputToken string) uint64
- type Action
- type FieldValidateErrorType
- type Timeout
- type VimbError
- type VimbResponse
- type YearMonth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DateTimeNowInt ¶
func DateTimeNowInt() string
func DirOrFileExists ¶
func FileToBase64 ¶
func FloatFromJson ¶
func FloatFromJson(input interface{}) float64
func FloatInterface ¶
func FloatInterface(input interface{}) float64
func GetActualDays ¶
func GetActualStartEndDays ¶
func RecursiveZip ¶
func SplitDbAndTable ¶
func TimeByTimeZone ¶
func ToJsonBytes ¶
func ToJsonBytes(input interface{}) []byte
func UniRequestId ¶
Types ¶
type FieldValidateErrorType ¶
type VimbError ¶
func (*VimbError) CheckTimeout ¶
type VimbResponse ¶
type VimbResponse struct {
FilePath string
}
func (*VimbResponse) Convert ¶
func (req *VimbResponse) Convert(key string) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.