Documentation ¶
Index ¶
- func Abs(i int) int
- func AlphaNumericWithKorean(s string) string
- func Comma(s string) string
- func Contains(n string, hs []string) bool
- func ConvertToCatalogKeywords(rules []any) ([]string, []string, []string)
- func Date(days int, format string) string
- func DateAfter(ld, id string) bool
- func DateBefore(ld, id string) bool
- func Dates(start, end string) []string
- func DeepEqual(s1, s2 []string) bool
- func DhtmlxMapResponse(ds []Interface, key string, cs string, ucs string) map[string]any
- func DhtmlxResponse(ds []Interface, key string, cs string, ucs string) []byte
- func DiffDays(start, end string) int
- func DiffInt(a, b []int) []int
- func ExecutableDir() string
- func ExpandTag(t string) []string
- func FullTime() string
- func GreedyPattern(s string) string
- func IndexDate(s string) string
- func IsNumeric(s string) bool
- func KibanaDate(t int64) string
- func LocaleAlias(l string) string
- func Locales() []string
- func Microseconds() int64
- func Milliseconds() int64
- func ModelNames(t string) []string
- func NarrowSpace(s string) string
- func NormalizeModelName(s string) string
- func PatternToRegex(p string) string
- func Progress(i, j int) string
- func QuoteID(x any) string
- func RemoveSpace(s string) string
- func RemoveUnit(s string) string
- func Space(s string) string
- func SpaceAlphabet(s string) string
- func SpaceKorean(s string) string
- func SpaceNumeric(s string) string
- func SpaceOperators(s string) string
- func SpaceSpecialCharacter(s string) string
- func SplitModelName(s string) []string
- func StartWithNumber(s string) bool
- func StructToMap(in any) (map[string]any, error)
- func TimestampToString(ts int) string
- func ToFloat64(x any) float64
- func ToInt(x any) int
- func ToInt64(x any) int64
- func ToString(x any) string
- func Today() string
- func Trace(msg string) func()
- func Unique(ss []string) []string
- func Yesterday() string
- func Ymd(d string) string
- type CopyableMap
- type CopyableSlice
- type Interface
- func (i *Interface) Date(k string) string
- func (i *Interface) DeepCopy() Interface
- func (i *Interface) Float64(k string) float64
- func (i *Interface) From(v map[string]any)
- func (i *Interface) ID(k string) string
- func (i *Interface) Int(k string) int
- func (i *Interface) Int64(k string) int64
- func (i *Interface) KeyExist(k string) bool
- func (i *Interface) List(k string) []any
- func (i *Interface) Map() map[string]any
- func (i *Interface) New()
- func (i *Interface) Raw(k string) any
- func (i *Interface) Remove(k string)
- func (i *Interface) Set(k string, v any)
- func (i *Interface) String(k string) string
- func (i *Interface) Strings(k string) []string
- func (i *Interface) Uint(k string) uint
- type ProgressInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlphaNumericWithKorean ¶
func DateBefore ¶
func DhtmlxMapResponse ¶
func ExecutableDir ¶
func ExecutableDir() string
func GreedyPattern ¶
func KibanaDate ¶
func LocaleAlias ¶
func Microseconds ¶
func Microseconds() int64
func Milliseconds ¶
func Milliseconds() int64
func ModelNames ¶
func NarrowSpace ¶
func NormalizeModelName ¶
func PatternToRegex ¶
func RemoveSpace ¶
func RemoveUnit ¶
func SpaceAlphabet ¶
func SpaceKorean ¶
func SpaceNumeric ¶
func SpaceOperators ¶
func SpaceSpecialCharacter ¶
func SplitModelName ¶
func StartWithNumber ¶
func TimestampToString ¶
Types ¶
type CopyableMap ¶
func (CopyableMap) DeepCopy ¶
func (m CopyableMap) DeepCopy() map[string]any
DeepCopy will create a deep copy of this map. The depth of this copy is all inclusive. Both maps and slices will be considered when making the copy.
type CopyableSlice ¶
type CopyableSlice []any
func (CopyableSlice) DeepCopy ¶
func (s CopyableSlice) DeepCopy() []any
DeepCopy will create a deep copy of this slice. The depth of this copy is all inclusive. Both maps and slices will be considered when making the copy.
type ProgressInfo ¶
type ProgressInfo struct {
// contains filtered or unexported fields
}
func NewProgressInfo ¶
func NewProgressInfo() *ProgressInfo
func (*ProgressInfo) AddDataProcessedCount ¶
func (p *ProgressInfo) AddDataProcessedCount(c int)
func (*ProgressInfo) AddNodeProcessedCount ¶
func (p *ProgressInfo) AddNodeProcessedCount(c int)
func (*ProgressInfo) SetDataCount ¶
func (p *ProgressInfo) SetDataCount(c int)
func (*ProgressInfo) SetNodeCount ¶
func (p *ProgressInfo) SetNodeCount(c int)
func (*ProgressInfo) String ¶
func (p *ProgressInfo) String() string
Click to show internal directories.
Click to hide internal directories.