Versions in this module Expand all Collapse all v1 v1.0.2 Mar 15, 2023 v1.0.1 Mar 14, 2023 Changes in this version + 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 struct + Client string + SOAPAction string + var Actions *Action + func (act *Action) Request(input []byte) ([]byte, error) + func (act *Action) RequestJson(input []byte) ([]byte, error) + type FieldValidateErrorType struct + Code int + Field string + Message string + type Timeout struct + IsTimeout bool + type VimbError struct + Code int + Message string + func (e *VimbError) CheckTimeout(method string) error + func (e VimbError) Error() string + type VimbResponse struct + FilePath string + func (req *VimbResponse) Convert(key string) (interface{}, error) + type YearMonth struct + IntValue int + Month time.Month + ValueString string + Year int + func GetActualMonths() ([]YearMonth, error) + func GetPeriodFromYearMonths(beginMonth string, endMonth string) ([]YearMonth, error) v1.0.0 May 4, 2022