Documentation ¶
Index ¶
- Variables
- type Fmt
- func (f Fmt) Errorf(format string, a ...interface{}) error
- func (f Fmt) GoString() string
- func (f Fmt) Print(a ...interface{}) (n int, err error)
- func (f Fmt) Printf(format string, a ...interface{}) (n int, err error)
- func (f Fmt) Println(a ...interface{}) (n int, err error)
- func (f Fmt) Sprint(a ...interface{}) string
- func (f Fmt) Sprintf(format string, a ...interface{}) string
- func (f Fmt) Sprintln(a ...interface{}) string
- type Sort
- type Strings
- func (Strings) Compare(a, b string) int
- func (Strings) Contains(s, substr string) bool
- func (Strings) ContainsAny(s, chars string) bool
- func (Strings) ContainsRune(s string, r rune) bool
- func (Strings) Count(s, substr string) int
- func (Strings) EqualFold(s, t string) bool
- func (Strings) Fields(s string) []string
- func (Strings) HasPrefix(s, prefix string) bool
- func (Strings) HasSuffix(s, suffix string) bool
- func (Strings) Index(s, substr string) int
- func (Strings) IndexAny(s, chars string) int
- func (Strings) IndexByte(s string, c byte) int
- func (Strings) IndexRune(s string, r rune) int
- func (Strings) Join(a []string, sep string) string
- func (Strings) LastIndex(s, substr string) int
- func (Strings) LastIndexAny(s, chars string) int
- func (Strings) LastIndexByte(s string, c byte) int
- func (Strings) Repeat(s string, count int) string
- func (Strings) Replace(s, old, new string, n int) string
- func (Strings) Split(s, sep string) []string
- func (Strings) SplitAfter(s, sep string) []string
- func (Strings) SplitAfterN(s, sep string, n int) []string
- func (Strings) SplitN(s, sep string, n int) []string
- func (Strings) Title(s string) string
- func (Strings) ToLower(s string) string
- func (Strings) ToTitle(s string) string
- func (Strings) ToUpper(s string) string
- func (Strings) Trim(s string, cutset string) string
- func (Strings) TrimLeft(s string, cutset string) string
- func (Strings) TrimPrefix(s, prefix string) string
- func (Strings) TrimRight(s string, cutset string) string
- func (Strings) TrimSpace(s string) string
- func (Strings) TrimSuffix(s, suffix string) string
- type Time
- func (Time) After(d int) <-chan time.Time
- func (Time) Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) time.Time
- func (Time) FixedZone(name string, offset int) *time.Location
- func (Time) GoString() string
- func (Time) LoadLocation(name string) (*time.Location, error)
- func (Time) LoadLocationFromTZData(name string, data []byte) (*time.Location, error)
- func (Time) NewTicker(d int) *time.Ticker
- func (Time) NewTimer(d int) *time.Timer
- func (Time) Now() time.Time
- func (Time) Parse(layout, value string) (time.Time, error)
- func (Time) ParseDuration(s string) (int, error)
- func (Time) ParseInLocation(layout, value string, loc *time.Location) (time.Time, error)
- func (Time) Since(t time.Time) int
- func (Time) Sleep(d int)
- func (Time) Tick(d int) <-chan time.Time
- func (Time) Unix(sec int64, nsec int64) time.Time
- func (Time) Until(t time.Time) int
Constants ¶
This section is empty.
Variables ¶
View Source
var Available sync.Map
View Source
var OS = bos{ Args: os.Args, }
Functions ¶
This section is empty.
Types ¶
type Strings ¶
type Strings struct{}
func (Strings) ContainsAny ¶
func (Strings) LastIndexAny ¶
func (Strings) SplitAfter ¶
func (Strings) TrimPrefix ¶
func (Strings) TrimSuffix ¶
type Time ¶
type Time struct { ANSIC string UnixDate string RubyDate string RFC822 string RFC822Z string RFC850 string RFC1123 string RFC1123Z string RFC3339 string RFC3339Nano string Kitchen string Stamp string StampMilli string StampMicro string StampNano string Nanosecond int Microsecond int Millisecond int Second int Minute int Hour int }
func (Time) LoadLocationFromTZData ¶
func (Time) ParseInLocation ¶
Click to show internal directories.
Click to hide internal directories.