gox

package module
v0.0.0-...-02246d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

README

gox

Golang functions library

  • archivex
    • zipx
      • Compress
      • UnCompress
  • bytex
    • IsEmpty
    • IsBlank
    • ToString
    • StartsWith
    • EndsWith
    • Contains
  • cryptox
    • Crc32
    • Md5
    • Sha1
  • extractx
    • Number
    • Numbers
    • Float64
    • Float32
    • Int64
    • Int32
    • Int16
    • Int8
    • Int
  • filepathx
    • Dirs
    • Files
    • GenerateDirNames
    • Ext
  • filex
    • IsDir
    • IsFile
    • Exists
    • Size
  • fmtx
    • SprettyPrint
    • PrettyPrint
    • PrettyPrintln
  • htmlx
    • Strip
    • Spaceless
    • Clean
    • Tag
  • inx
    • In
    • StringIn
    • IntIn
  • ipx
    • RemoteAddr
    • LocalAddr
    • IsPrivate
    • IsPublic
    • Number
    • Random
    • String
  • isx
    • Number
    • Empty
    • Equal
    • SafeCharacters
    • HttpURL
    • OS
    • ColorHex
  • jsonx
    • ToRawMessage
    • ToJson
    • ToPrettyJson
    • EmptyObjectRawMessage
    • EmptyArrayRawMessage
    • IsEmptyRawMessage
    • NewParser
      • Exists
      • Find
        • Interface
        • String
        • Int
        • Int64
        • Float32
        • Float64
        • Bool
  • keyx
    • Generate
  • map
    • Keys
    • StringMapStringEncode
  • net
    • urlx
      • NewURL
      • GetValue
      • SetValue
      • AddValue
      • DelKey
      • HasKey
      • String
      • IsAbsolute
      • IsRelative
  • nullx
    • StringFrom
    • NullString
    • TimeFrom
    • NullTime
  • pathx
    • FilenameWithoutExt
  • randx
    • Letter
    • Number
    • Any
  • setx
    • ToSet
    • ToStringSet
    • ToIntSet
  • slicex
    • Map
    • Filter
    • ToInterface
    • StringToInterface
    • IntToInterface
    • StringSliceEqual
    • IntSliceEqual
    • StringSliceReverse
    • IntSliceReverse
    • Diff
    • StringSliceDiff
    • IntSliceDiff
    • Chunk
  • spreedsheetx
    • NewColumn()
  column := NewColumn("A")
  column.Next() // Return `B` if successful
  column.RightShift(26) // Return `AB` if successful
  column.LeftShift(1) // Return `AA` if successful
  • stringx
    • IsEmpty
    • IsBlank
    • ToNumber
    • ContainsChinese
    • ToNarrow
    • ToWiden
    • Split
    • String
    • RemoveEmoji
    • TrimAny
    • RemoveExtraSpace
    • SequentialWordFields
    • ToBytes
    • WordMatched
    • StartsWith
    • EndsWith
    • Contains
    • QuoteMeta
    • HexToByte
    • Len
    • UpperFirst
    • LowerFirst
  • timex
    • IsAmericaSummerTime
    • ChineseTimeLocation
    • Between
    • DayStart
    • DayEnd
    • MonthStart
    • MonthEnd
    • IsAM
    • IsPM
    • WeekStart
    • WeekEnd
    • YearWeeksByWeek
    • YearWeeksByTime
    • XISOWeek

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float

type Float interface {
	~float32 | ~float64
}

type Int

type Int interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

type Number

type Number interface {
	Int | UInt | Float
}

type UInt

type UInt interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
}

Directories

Path Synopsis
archivex
net

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL