Documentation ¶
Index ¶
- func Calculate(param interface{}) (int, error)
- func ConvertCurrentTimeToDifferentTimezone(now time.Time, location string) (time.Time, string, error)
- func FileRotation(dir, fileType, ballFileType string) error
- func GetCurrentTime() (time.Time, error)
- func GetCurrentTimeInVariousTimezone(now time.Time, locations []string) (map[string]time.Time, error)
- func GetCurrentTimezone(now time.Time) (string, error)
- func IsArray(param interface{}) (bool, error)
- func IsBool(param interface{}) (bool, error)
- func IsComplex(param interface{}) (bool, error)
- func IsFloat(param interface{}) (bool, error)
- func IsInt(param interface{}) (bool, error)
- func IsSlice(param interface{}) (bool, error)
- func IsString(param interface{}) (bool, error)
- func IsStruct(param interface{}) (bool, error)
- func IsUint(param interface{}) (bool, error)
- func IsUintPtr(param interface{}) (bool, error)
- func IsValidNumber(numbers int) bool
- func Palindrom(texts []string) (map[string]bool, error)
- func Read(path string, mode int) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCurrentTimeToDifferentTimezone ¶
func ConvertCurrentTimeToDifferentTimezone(now time.Time, location string) (time.Time, string, error)
ConvertCurrentTimeToDifferentTimezone : convert current time to other timezone
func FileRotation ¶
FileRotation : rotate (archiving) files with day-1 and create the new one
func GetCurrentTimeInVariousTimezone ¶
func GetCurrentTimeInVariousTimezone(now time.Time, locations []string) (map[string]time.Time, error)
GetCurrentTimeInVariousTimezone : get current time on various timezone
func GetCurrentTimezone ¶
GetCurrentTimezone : get current timezone
func IsValidNumber ¶
IsValidNumber : validate the number for Luhn
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.