Documentation ΒΆ
Overview ΒΆ
Code generated by go generate; DO NOT EDIT. This file was generated at 2022-09-19 03:03:33.8231474 +0800 +08 m=+0.007318901
Code generated by go generate; DO NOT EDIT. This file was generated at 2022-09-19 03:03:35.9667562 +0800 +08 m=+0.005452501
Code generated by go generate; DO NOT EDIT. This file was generated at 2022-09-19 03:03:30.712158 +0800 +08 m=+0.005998601
Code generated by go generate; DO NOT EDIT. This file was generated at 2022-09-19 03:03:29.0859221 +0800 +08 m=+0.005734501
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT. This file was generated at 2022-09-19 03:03:32.1658398 +0800 +08 m=+0.006479901
Index ΒΆ
- func ForEach[T any](s Slice[T], exec func(T))
- type Bool
- type Byte
- type Complex128
- type Complex64
- type Float32
- type Float64
- type Int
- type Int16
- type Int32
- type Int64
- type Int8
- type Map
- type Rune
- type Slice
- type String
- func (s String) Atoi() (Int, error)
- func (s String) HasAnyPrefix(prefixes ...string) Bool
- func (s String) HasPrefix(prefix string) Bool
- func (s String) Length() int
- func (s String) Split(sep String) []String
- func (s String) ToLower() String
- func (n String) ToString() string
- func (s String) ToUpper() String
- func (s String) Trim(cutset String) String
- type Uint
- type Uint16
- type Uint32
- type Uint64
- type Uint8
- type Uintptr
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
Types ΒΆ
type Bool ΒΆ
type Bool bool
func HasAnyPrefix ΒΆ
HasAnyPrefix returns true if the given string matched any of the prefixes
type Complex128 ΒΆ
type Complex128 complex128
func FromComplex128 ΒΆ
func FromComplex128(n complex128) Complex128
FromComplex128 converts builtin type to Goo's complex128
func (Complex128) ToComplex128 ΒΆ
func (n Complex128) ToComplex128() complex128
ToComplex128 converts instance to builtin complex128
type Complex64 ΒΆ
type Complex64 complex64
func FromComplex64 ΒΆ
FromComplex64 converts builtin type to Goo's complex64
func (Complex64) ToComplex64 ΒΆ
ToComplex64 converts instance to builtin complex64
type Float32 ΒΆ
type Float32 float32
func FromFloat32 ΒΆ
FromFloat32 converts builtin type to Goo's float32
type Float64 ΒΆ
type Float64 float64
func FromFloat64 ΒΆ
FromFloat64 converts builtin type to Goo's float64
type Map ΒΆ
type Map[T constraints.Ordered, V any] map[T]V
func FromMap ΒΆ
func FromMap[T constraints.Ordered, V any](m map[T]V) Map[T, V]
FromMap converts builtin map of any time to goo.Map
type Slice ΒΆ
type Slice[T any] []T
func Unique ΒΆ
func Unique[T constraints.Ordered](s Slice[T]) Slice[T]
Unique function that is not tied to a slice
func (Slice[T]) Append ΒΆ
Append returns a new goo.Slice object with the input elements appended at the end Not yet tested if type is a slice or map
func (Slice[T]) ForEach ΒΆ
func (s Slice[T]) ForEach(exec func(T))
ForEach loop through each element and perform an action with the given function
type String ΒΆ
type String string
func FromString ΒΆ
FromString converts builtin type to Goo's string
func (String) HasAnyPrefix ΒΆ
HasAnyPrefix check if the string starts with input
func (String) Split ΒΆ
Split will split the current string by the given token and return a slice of String
type Uint16 ΒΆ
type Uint16 uint16
func FromUint16 ΒΆ
FromUint16 converts builtin type to Goo's uint16
type Uint32 ΒΆ
type Uint32 uint32
func FromUint32 ΒΆ
FromUint32 converts builtin type to Goo's uint32
type Uint64 ΒΆ
type Uint64 uint64
func FromUint64 ΒΆ
FromUint64 converts builtin type to Goo's uint64