Documentation
¶
Index ¶
- Constants
- func Assert(cond bool)
- func AssertCompatibleType[T any](v T)
- func AssertErr(err error)
- func AssertMsg(cond bool, msg string)
- func Compose10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R any](fn10 func(T10) R, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, ...) func(T1) R
- func Compose11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R any](fn11 func(T11) R, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, ...) func(T1) R
- func Compose12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R any](fn12 func(T12) R, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, ...) func(T1) R
- func Compose13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R any](fn13 func(T13) R, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, ...) func(T1) R
- func Compose14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R any](fn14 func(T14) R, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, ...) func(T1) R
- func Compose15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R any](fn15 func(T15) R, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, ...) func(T1) R
- func Compose16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R any](fn16 func(T16) R, fn15 func(T15) T16, fn14 func(T14) T15, fn13 func(T13) T14, ...) func(T1) R
- func Compose17[...](fn17 func(T17) R, fn16 func(T16) T17, fn15 func(T15) T16, fn14 func(T14) T15, ...) func(T1) R
- func Compose18[...](fn18 func(T18) R, fn17 func(T17) T18, fn16 func(T16) T17, fn15 func(T15) T16, ...) func(T1) R
- func Compose19[...](fn19 func(T19) R, fn18 func(T18) T19, fn17 func(T17) T18, fn16 func(T16) T17, ...) func(T1) R
- func Compose2[T1, T2, R any](fn2 func(T2) R, fn1 func(T1) T2) func(T1) R
- func Compose20[...](fn20 func(T20) R, fn19 func(T19) T20, fn18 func(T18) T19, fn17 func(T17) T18, ...) func(T1) R
- func Compose3[T1, T2, T3, R any](fn3 func(T3) R, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
- func Compose4[T1, T2, T3, T4, R any](fn4 func(T4) R, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
- func Compose5[T1, T2, T3, T4, T5, R any](fn5 func(T5) R, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, ...) func(T1) R
- func Compose6[T1, T2, T3, T4, T5, T6, R any](fn6 func(T6) R, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, ...) func(T1) R
- func Compose7[T1, T2, T3, T4, T5, T6, T7, R any](fn7 func(T7) R, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, ...) func(T1) R
- func Compose8[T1, T2, T3, T4, T5, T6, T7, T8, R any](fn8 func(T8) R, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, ...) func(T1) R
- func Compose9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R any](fn9 func(T9) R, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, ...) func(T1) R
- func Curry10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R any](...) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry17[...](...) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry18[...](...) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry19[...](...) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry2[T1, T2, R any](fn func(T1, T2) R) func(T1) func(T2) R
- func Curry20[...](...) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry3[T1, T2, T3, R any](fn func(T1, T2, T3) R) func(T1) func(T2) func(T3) R
- func Curry4[T1, T2, T3, T4, R any](fn func(T1, T2, T3, T4) R) func(T1) func(T2) func(T3) func(T4) R
- func Curry5[T1, T2, T3, T4, T5, R any](fn func(T1, T2, T3, T4, T5) R) func(T1) func(T2) func(T3) func(T4) func(T5) R
- func Curry6[T1, T2, T3, T4, T5, T6, R any](fn func(T1, T2, T3, T4, T5, T6) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) R
- func Curry7[T1, T2, T3, T4, T5, T6, T7, R any](fn func(T1, T2, T3, T4, T5, T6, T7) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) R
- func Curry8[T1, T2, T3, T4, T5, T6, T7, T8, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func Curry9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(...) ...
- func NullableZeroValue[T any]() T
- func Pipeline1[Input any, Output any](f1 func(Input) Output) func(Input) Output
- func Pipeline10[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline11[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline12[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline13[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline14[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline15[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline16[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline17[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline18[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline19[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline2[Input any, I1 any, Output any](f1 func(Input) I1, f2 func(I1) Output) func(Input) Output
- func Pipeline20[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline3[Input any, I1 any, I2 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) Output) func(Input) Output
- func Pipeline4[Input any, I1 any, I2 any, I3 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) Output) func(Input) Output
- func Pipeline5[Input any, I1 any, I2 any, I3 any, I4 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline6[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline7[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline8[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func Pipeline9[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, ...](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, ...) func(Input) Output
- func ToTuple1[T1 any](t Tuple1[T1]) T1
- func ToTuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 any](t Tuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
- func ToTuple11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11 any](t Tuple11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
- func ToTuple12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12 any](t Tuple12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
- func ToTuple13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 any](t Tuple13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
- func ToTuple14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14 any](t Tuple14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
- func ToTuple15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 any](t Tuple15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
- func ToTuple16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 any](...) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
- func ToTuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17 any](...) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)
- func ToTuple18[...](...) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, ...)
- func ToTuple19[...](...) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, ...)
- func ToTuple2[T1, T2 any](t Tuple2[T1, T2]) (T1, T2)
- func ToTuple20[...](...) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, ...)
- func ToTuple3[T1, T2, T3 any](t Tuple3[T1, T2, T3]) (T1, T2, T3)
- func ToTuple4[T1, T2, T3, T4 any](t Tuple4[T1, T2, T3, T4]) (T1, T2, T3, T4)
- func ToTuple5[T1, T2, T3, T4, T5 any](t Tuple5[T1, T2, T3, T4, T5]) (T1, T2, T3, T4, T5)
- func ToTuple6[T1, T2, T3, T4, T5, T6 any](t Tuple6[T1, T2, T3, T4, T5, T6]) (T1, T2, T3, T4, T5, T6)
- func ToTuple7[T1, T2, T3, T4, T5, T6, T7 any](t Tuple7[T1, T2, T3, T4, T5, T6, T7]) (T1, T2, T3, T4, T5, T6, T7)
- func ToTuple8[T1, T2, T3, T4, T5, T6, T7, T8 any](t Tuple8[T1, T2, T3, T4, T5, T6, T7, T8]) (T1, T2, T3, T4, T5, T6, T7, T8)
- func ToTuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9 any](t Tuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9]) (T1, T2, T3, T4, T5, T6, T7, T8, T9)
- type Any
- type Arc
- type Bool
- func (b Bool) And(b2 Bool) Bool
- func (b Bool) Clone() Bool
- func (b Bool) Compare(b2 Bool) ThreeWayComparable
- func (b Bool) Copy() Bool
- func (b Bool) Debug() Bool
- func (b *Bool) DebugP() *Bool
- func (b Bool) Equal(b2 Bool) bool
- func (b Bool) FromBool(b2 bool) Bool
- func (b Bool) FromString(s string) Bool
- func (b *Bool) FromStringInplace(s string)
- func (b Bool) FromStringToOption(s string) Option[Bool]
- func (b Bool) Get() Bool
- func (b Bool) GetAny() any
- func (b Bool) GetValue() Bool
- func (b Bool) GetValueAny() any
- func (b Bool) GoString() string
- func (b Bool) GreaterThan(b2 Bool) bool
- func (b Bool) GreaterThanOrEqual(b2 Bool) bool
- func (b Bool) LessThan(b2 Bool) bool
- func (b Bool) LessThanOrEqual(b2 Bool) bool
- func (b Bool) Not() Bool
- func (b Bool) NotEqual(b2 Bool) bool
- func (b Bool) Or(b2 Bool) Bool
- func (b *Bool) Set(b2 bool)
- func (b *Bool) SetAny(b2 any)
- func (b *Bool) SetValue(b2 bool)
- func (b *Bool) SetValueAny(b2 bool)
- func (b Bool) String() string
- func (b Bool) Then(f func() any) Option[any]
- func (b Bool) ThenSome(val any) Option[any]
- func (b Bool) ToBool() bool
- func (b Bool) ToComplex128() Complex128
- func (b Bool) ToComplex64() Complex64
- func (b Bool) ToF32() F32
- func (b Bool) ToF64() F64
- func (b Bool) ToI16() I16
- func (b Bool) ToI32() I32
- func (b Bool) ToI64() I64
- func (b Bool) ToI8() I8
- func (b *Bool) ToPointer() *Bool
- func (b Bool) ToStr() Str
- func (b Bool) ToString() string
- func (b Bool) ToU16() U16
- func (b Bool) ToU32() U32
- func (b Bool) ToU64() U64
- func (b Bool) ToU8() U8
- func (b Bool) ToUsize() Usize
- func (b Bool) ToValue() Bool
- func (b Bool) Xnor(b2 Bool) Bool
- func (b Bool) Xor(b2 Bool) Bool
- type Byte
- type Channel
- type Char
- type Complex128
- type Complex64
- type F32
- type F64
- type I16
- type I32
- type I64
- type I8
- type Iterator
- type IteratorKV
- type LU
- type LU1
- type LU10
- type LU11
- type LU12
- type LU13
- type LU14
- type LU15
- type LU16
- type LU17
- type LU18
- type LU19
- type LU2
- type LU20
- type LU3
- type LU4
- type LU5
- type LU6
- type LU7
- type LU8
- type LU9
- type LUI
- type LUI1
- type LUI10
- type LUI11
- type LUI12
- type LUI13
- type LUI14
- type LUI15
- type LUI16
- type LUI17
- type LUI18
- type LUI19
- type LUI2
- type LUI20
- type LUI3
- type LUI4
- type LUI5
- type LUI6
- type LUI7
- type LUI8
- type LUI9
- type LogicalUnion
- type LogicalUnion1
- type LogicalUnion10
- type LogicalUnion11
- type LogicalUnion12
- type LogicalUnion13
- type LogicalUnion14
- type LogicalUnion15
- type LogicalUnion16
- type LogicalUnion17
- type LogicalUnion18
- type LogicalUnion19
- type LogicalUnion2
- type LogicalUnion20
- type LogicalUnion3
- type LogicalUnion4
- type LogicalUnion5
- type LogicalUnion6
- type LogicalUnion7
- type LogicalUnion8
- type LogicalUnion9
- type LogicalUnionInterface
- type LogicalUnionInterface1
- type LogicalUnionInterface10
- type LogicalUnionInterface11
- type LogicalUnionInterface12
- type LogicalUnionInterface13
- type LogicalUnionInterface14
- type LogicalUnionInterface15
- type LogicalUnionInterface16
- type LogicalUnionInterface17
- type LogicalUnionInterface18
- type LogicalUnionInterface19
- type LogicalUnionInterface2
- type LogicalUnionInterface20
- type LogicalUnionInterface3
- type LogicalUnionInterface4
- type LogicalUnionInterface5
- type LogicalUnionInterface6
- type LogicalUnionInterface7
- type LogicalUnionInterface8
- type LogicalUnionInterface9
- type Map
- type Mut
- type Nullable
- func (n Nullable[T]) AndThen(fn func(T) any) any
- func (n Nullable[T]) Clone() Nullable[T]
- func (n Nullable[T]) Equal(other Nullable[T]) bool
- func (n Nullable[T]) ExactEqual(other Nullable[T]) bool
- func (n Nullable[T]) Expect(err any)
- func (n Nullable[T]) ExpectErr(err any)
- func (n Nullable[T]) Get() any
- func (n Nullable[T]) GetError() error
- func (n Nullable[T]) GetT() T
- func (n Nullable[T]) GetValue() any
- func (n Nullable[T]) GetValueT() T
- func (n Nullable[T]) GoString() string
- func (n Nullable[T]) Inspect(f func(Nullable[T])) Nullable[T]
- func (n *Nullable[T]) InspectRef(f func(*Nullable[T])) *Nullable[T]
- func (n Nullable[T]) IsError() bool
- func (n Nullable[T]) IsNull() bool
- func (n Nullable[T]) IsValue() bool
- func (n Nullable[T]) IsZero() bool
- func (n Nullable[T]) OkOr(err error) Result[T]
- func (n Nullable[T]) OkOrElse(f func() error) Result[T]
- func (n Nullable[T]) SetNull()
- func (n Nullable[T]) String() string
- func (n Nullable[T]) ToNullable() Nullable[any]
- func (n Nullable[T]) ToObservable() Observable[Nullable[any]]
- func (n Nullable[T]) ToObservableT() Observable[Nullable[T]]
- func (n Nullable[T]) ToOption() Option[any]
- func (n Nullable[T]) ToOptionT() Option[T]
- func (n *Nullable[T]) ToPointer() *Nullable[T]
- func (n Nullable[T]) ToThreadSafeObject() ThreadSafeObject[Nullable[any]]
- func (n Nullable[T]) ToThreadSafeObjectT() ThreadSafeObject[Nullable[T]]
- func (n Nullable[T]) ToValue() Nullable[T]
- func (n Nullable[T]) Unwrap() T
- func (n Nullable[T]) UnwrapAsResultOrErr(f func(Nullable[T])) Result[T]
- func (n Nullable[T]) UnwrapErr() error
- func (n Nullable[T]) UnwrapOr(defaultVal T) T
- func (n Nullable[T]) UnwrapOrDefault() T
- func (n Nullable[T]) UnwrapOrErr(f func(Nullable[T])) T
- func (n Nullable[T]) UnwrapWithErr() (T, error)
- func (n Nullable[T]) Value() (driver.Value, error)
- func (n Nullable[T]) ValueOrZero() T
- type Observable
- type Onceable
- type Option
- func (o Option[T]) And(other Option[any]) Option[any]
- func (o Option[T]) AndT(other Option[T]) Option[T]
- func (o Option[T]) AndThen(fn func(T) any) any
- func (o Option[T]) Clone() Option[T]
- func (o Option[T]) Equal(other Option[T]) bool
- func (o Option[T]) ExactEqual(other Option[T]) bool
- func (o Option[T]) Expect(err any)
- func (o Option[T]) ExpectErr(err any)
- func (o Option[T]) Get() any
- func (o Option[T]) GetError() error
- func (o Option[T]) GetT() T
- func (o Option[T]) GetValue() any
- func (o Option[T]) GetValueT() T
- func (o Option[T]) GoString() string
- func (o Option[T]) Inspect(f func(Option[T])) Option[T]
- func (o Option[T]) InspectNone(f func(Option[T])) Option[T]
- func (o *Option[T]) InspectNoneRef(f func(*Option[T])) *Option[T]
- func (o *Option[T]) InspectRef(f func(*Option[T])) *Option[T]
- func (o Option[T]) IsDefault() bool
- func (o Option[T]) IsError() bool
- func (o Option[T]) IsNone() bool
- func (o Option[T]) IsSome() bool
- func (o Option[T]) OkOr(err error) Result[T]
- func (o Option[T]) OkOrElse(f func() error) Result[T]
- func (o Option[T]) Or(other Option[any]) Option[any]
- func (o Option[T]) OrT(other Option[T]) Option[T]
- func (o Option[T]) SetNone()
- func (o Option[T]) String() string
- func (o Option[T]) ToNullable() Nullable[any]
- func (o Option[T]) ToNullableT() Nullable[T]
- func (o Option[T]) ToObservable() Observable[Option[any]]
- func (o Option[T]) ToObservableT() Observable[Option[T]]
- func (o Option[T]) ToOption() Option[any]
- func (o *Option[T]) ToPointer() *Option[T]
- func (o Option[T]) ToThreadSafeObject() ThreadSafeObject[Option[any]]
- func (o Option[T]) ToThreadSafeObjectT() ThreadSafeObject[Option[T]]
- func (o Option[T]) ToValue() Option[T]
- func (o Option[T]) Unwrap() T
- func (o Option[T]) UnwrapAsResultOrErr(f func(Option[T])) Result[T]
- func (o Option[T]) UnwrapErr() error
- func (o Option[T]) UnwrapOr(defaultVal T) T
- func (o Option[T]) UnwrapOrDefault() T
- func (o Option[T]) UnwrapOrErr(f func(Option[T])) T
- func (o Option[T]) UnwrapWithErr() (T, error)
- func (o Option[T]) Value() (driver.Value, error)
- func (o Option[T]) ValueOrZero() T
- func (o Option[T]) Xor(other Option[any]) Option[any]
- func (o Option[T]) XorT(other Option[T]) Option[T]
- type Rc
- type ReadChannel
- type Result
- func (r Result[T]) AndThen(fn func(T) any) any
- func (r Result[T]) Clone() Result[T]
- func (r *Result[T]) Error(err error) Result[T]
- func (r Result[T]) Expect(err any)
- func (r Result[T]) ExpectErr(err any)
- func (r Result[T]) Get() T
- func (r Result[T]) GetAny() any
- func (r Result[T]) GetError() error
- func (r Result[T]) GetValue() T
- func (r Result[T]) GoString() string
- func (r Result[T]) Inspect(f func(Result[T])) Result[T]
- func (r Result[T]) InspectErr(f func(Result[T])) Result[T]
- func (r *Result[T]) InspectErrRef(f func(*Result[T])) *Result[T]
- func (r *Result[T]) InspectRef(f func(*Result[T])) *Result[T]
- func (r Result[T]) IsErr() bool
- func (r Result[T]) IsError() bool
- func (r Result[T]) IsOk() bool
- func (r *Result[T]) Ok(value T) Result[T]
- func (r Result[T]) String() string
- func (r Result[T]) ToNullable() Nullable[any]
- func (r Result[T]) ToNullableT() Nullable[T]
- func (r Result[T]) ToObservable() Observable[Result[any]]
- func (r Result[T]) ToObservableT() Observable[Result[T]]
- func (r Result[T]) ToOption() Option[any]
- func (r Result[T]) ToOptionT() Option[T]
- func (r Result[T]) ToPointer() *Result[T]
- func (r Result[T]) ToResult() Result[any]
- func (r Result[T]) ToThreadSafeObject() ThreadSafeObject[Result[any]]
- func (r Result[T]) ToThreadSafeObjectT() ThreadSafeObject[Result[T]]
- func (r *Result[T]) ToValue() Result[T]
- func (r Result[T]) Unwrap() T
- func (r Result[T]) UnwrapAsResultOrErr(f func(Result[T])) Result[T]
- func (r Result[T]) UnwrapErr() error
- func (r Result[T]) UnwrapOr(defaultVal T) T
- func (r Result[T]) UnwrapOrErr(f func(Result[T])) T
- func (r Result[T]) UnwrapWithErr() (T, error)
- type Slice
- type Str
- type TemplateType
- type ThreadSafeObject
- type ThreeWayComparable
- type ToBoolInterface
- type Tuple1
- type Tuple10
- type Tuple11
- type Tuple12
- type Tuple13
- type Tuple14
- type Tuple15
- type Tuple16
- type Tuple17
- type Tuple18
- type Tuple19
- type Tuple2
- type Tuple20
- type Tuple3
- type Tuple4
- type Tuple5
- type Tuple6
- type Tuple7
- type Tuple8
- type Tuple9
- type TypedErrorResult
- type TypedErrorResultE
- type TypedTemplateType
- type U16
- type U32
- type U64
- type U8
- type Usize
- type WriteChannel
Constants ¶
const ( // True True = Bool(true) // False False = Bool(false) )
Variables ¶
This section is empty.
Functions ¶
func Assert ¶
func Assert(cond bool)
Assert that condition is true if it's not panic with AssertionError
func AssertCompatibleType ¶
func AssertCompatibleType[T any](v T)
Assert that v is compatible with T This function is noop. It's basing on LSP and build system to inform you of failed assertion
func AssertErr ¶
func AssertErr(err error)
Assert that err is nil if it's not panic with AssertionError and err message as custom message suffix
func AssertMsg ¶
Assert that condition is true if it's not panic with AssertionError with custom message suffix
func Compose10 ¶
func Compose10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R any](fn10 func(T10) R, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 10 functions
func Compose11 ¶
func Compose11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R any](fn11 func(T11) R, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 11 functions
func Compose12 ¶
func Compose12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R any](fn12 func(T12) R, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 12 functions
func Compose13 ¶
func Compose13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R any](fn13 func(T13) R, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 13 functions
func Compose14 ¶
func Compose14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R any](fn14 func(T14) R, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 14 functions
func Compose15 ¶
func Compose15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R any](fn15 func(T15) R, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 15 functions
func Compose16 ¶
func Compose16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R any](fn16 func(T16) R, fn15 func(T15) T16, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 16 functions
func Compose17 ¶
func Compose17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R any](fn17 func(T17) R, fn16 func(T16) T17, fn15 func(T15) T16, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 17 functions
func Compose18 ¶
func Compose18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R any](fn18 func(T18) R, fn17 func(T17) T18, fn16 func(T16) T17, fn15 func(T15) T16, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 18 functions
func Compose19 ¶
func Compose19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R any](fn19 func(T19) R, fn18 func(T18) T19, fn17 func(T17) T18, fn16 func(T16) T17, fn15 func(T15) T16, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 19 functions
func Compose2 ¶
func Compose2[T1, T2, R any](fn2 func(T2) R, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of two functions
func Compose20 ¶
func Compose20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R any](fn20 func(T20) R, fn19 func(T19) T20, fn18 func(T18) T19, fn17 func(T17) T18, fn16 func(T16) T17, fn15 func(T15) T16, fn14 func(T14) T15, fn13 func(T13) T14, fn12 func(T12) T13, fn11 func(T11) T12, fn10 func(T10) T11, fn9 func(T9) T10, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 20 functions
func Compose3 ¶
func Compose3[T1, T2, T3, R any](fn3 func(T3) R, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of three functions
func Compose4 ¶
func Compose4[T1, T2, T3, T4, R any](fn4 func(T4) R, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of four functions
func Compose5 ¶
func Compose5[T1, T2, T3, T4, T5, R any](fn5 func(T5) R, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 5 functions
func Compose6 ¶
func Compose6[T1, T2, T3, T4, T5, T6, R any](fn6 func(T6) R, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 6 functions
func Compose7 ¶
func Compose7[T1, T2, T3, T4, T5, T6, T7, R any](fn7 func(T7) R, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 7 functions
func Compose8 ¶
func Compose8[T1, T2, T3, T4, T5, T6, T7, T8, R any](fn8 func(T8) R, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 8 functions
func Compose9 ¶
func Compose9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R any](fn9 func(T9) R, fn8 func(T8) T9, fn7 func(T7) T8, fn6 func(T6) T7, fn5 func(T5) T6, fn4 func(T4) T5, fn3 func(T3) T4, fn2 func(T2) T3, fn1 func(T1) T2) func(T1) R
Performs right-to-left function composition of 9 functions
func Curry10 ¶
func Curry10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) R
Allow to transform a function that receives 10 params in a sequence of unary functions
func Curry11 ¶
func Curry11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) R
Allow to transform a function that receives 11 params in a sequence of unary functions
func Curry12 ¶
func Curry12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) R
Allow to transform a function that receives 12 params in a sequence of unary functions
func Curry13 ¶
func Curry13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) R
Allow to transform a function that receives 13 params in a sequence of unary functions
func Curry14 ¶
func Curry14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) R
Allow to transform a function that receives 14 params in a sequence of unary functions
func Curry15 ¶
func Curry15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) func(T15) R
Allow to transform a function that receives 15 params in a sequence of unary functions
func Curry16 ¶
func Curry16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) func(T15) func(T16) R
Allow to transform a function that receives 16 params in a sequence of unary functions
func Curry17 ¶
func Curry17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) func(T15) func(T16) func(T17) R
Allow to transform a function that receives 17 params in a sequence of unary functions
func Curry18 ¶
func Curry18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) func(T15) func(T16) func(T17) func(T18) R
Allow to transform a function that receives 18 params in a sequence of unary functions
func Curry19 ¶
func Curry19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) func(T15) func(T16) func(T17) func(T18) func(T19) R
Allow to transform a function that receives 19 params in a sequence of unary functions
func Curry2 ¶
func Curry2[T1, T2, R any](fn func(T1, T2) R) func(T1) func(T2) R
Allow to transform a function that receives 2 params in a sequence of unary functions
func Curry20 ¶
func Curry20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) func(T10) func(T11) func(T12) func(T13) func(T14) func(T15) func(T16) func(T17) func(T18) func(T19) func(T20) R
Allow to transform a function that receives 20 params in a sequence of unary functions
func Curry3 ¶
func Curry3[T1, T2, T3, R any](fn func(T1, T2, T3) R) func(T1) func(T2) func(T3) R
Allow to transform a function that receives 3 params in a sequence of unary functions
func Curry4 ¶
func Curry4[T1, T2, T3, T4, R any](fn func(T1, T2, T3, T4) R) func(T1) func(T2) func(T3) func(T4) R
Allow to transform a function that receives 4 params in a sequence of unary functions
func Curry5 ¶
func Curry5[T1, T2, T3, T4, T5, R any](fn func(T1, T2, T3, T4, T5) R) func(T1) func(T2) func(T3) func(T4) func(T5) R
Allow to transform a function that receives 5 params in a sequence of unary functions
func Curry6 ¶
func Curry6[T1, T2, T3, T4, T5, T6, R any](fn func(T1, T2, T3, T4, T5, T6) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) R
Allow to transform a function that receives 6 params in a sequence of unary functions
func Curry7 ¶
func Curry7[T1, T2, T3, T4, T5, T6, T7, R any](fn func(T1, T2, T3, T4, T5, T6, T7) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) R
Allow to transform a function that receives 7 params in a sequence of unary functions
func Curry8 ¶
func Curry8[T1, T2, T3, T4, T5, T6, T7, T8, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) R
Allow to transform a function that receives 8 params in a sequence of unary functions
func Curry9 ¶
func Curry9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R any](fn func(T1, T2, T3, T4, T5, T6, T7, T8, T9) R) func(T1) func(T2) func(T3) func(T4) func(T5) func(T6) func(T7) func(T8) func(T9) R
Allow to transform a function that receives 9 params in a sequence of unary functions
func NullableZeroValue ¶
func NullableZeroValue[T any]() T
NullableZeroValue Get default zero value of type T
func Pipeline1 ¶
Pipeline operator as an function IN -> Pipeline -> OUT IN -> (F1 -> F2 -> F3 -> ...) -> OUT
func Pipeline10 ¶
func Pipeline11 ¶
func Pipeline11[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) Output) func(Input) Output
func Pipeline12 ¶
func Pipeline12[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) Output) func(Input) Output
func Pipeline13 ¶
func Pipeline13[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) Output) func(Input) Output
func Pipeline14 ¶
func Pipeline14[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) Output) func(Input) Output
func Pipeline15 ¶
func Pipeline15[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, I14 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) I14, f15 func(I14) Output) func(Input) Output
func Pipeline16 ¶
func Pipeline16[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, I14 any, I15 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) I14, f15 func(I14) I15, f16 func(I15) Output) func(Input) Output
func Pipeline17 ¶
func Pipeline17[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, I14 any, I15 any, I16 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) I14, f15 func(I14) I15, f16 func(I15) I16, f17 func(I16) Output) func(Input) Output
func Pipeline18 ¶
func Pipeline18[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, I14 any, I15 any, I16 any, I17 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) I14, f15 func(I14) I15, f16 func(I15) I16, f17 func(I16) I17, f18 func(I17) Output) func(Input) Output
func Pipeline19 ¶
func Pipeline19[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, I14 any, I15 any, I16 any, I17 any, I18 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) I14, f15 func(I14) I15, f16 func(I15) I16, f17 func(I16) I17, f18 func(I17) I18, f19 func(I18) Output) func(Input) Output
func Pipeline20 ¶
func Pipeline20[Input any, I1 any, I2 any, I3 any, I4 any, I5 any, I6 any, I7 any, I8 any, I9 any, I10 any, I11 any, I12 any, I13 any, I14 any, I15 any, I16 any, I17 any, I18 any, I19 any, Output any](f1 func(Input) I1, f2 func(I1) I2, f3 func(I2) I3, f4 func(I3) I4, f5 func(I4) I5, f6 func(I5) I6, f7 func(I6) I7, f8 func(I7) I8, f9 func(I8) I9, f10 func(I9) I10, f11 func(I10) I11, f12 func(I11) I12, f13 func(I12) I13, f14 func(I13) I14, f15 func(I14) I15, f16 func(I15) I16, f17 func(I16) I17, f18 func(I17) I18, f19 func(I18) I19, f20 func(I19) Output) func(Input) Output
func ToTuple20 ¶
func ToTuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20 any](t Tuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]) (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)
Types ¶
type Bool ¶
type Bool bool
Boolean type that is used to represent true and false values
func (Bool) Compare ¶
func (b Bool) Compare(b2 Bool) ThreeWayComparable
-1 = < | 0 = = | 1 = > (a <=> b) < 0 if a < b, (a <=> b) > 0 if a > b, (a <=> b) == 0 if a and b are equal/equivalent.
func (Bool) Debug ¶
Debug method is dumping value to stderr and returns itself (so you can chain it if needed) This method is intended to be used for debugging purposes This method uses value for pointer receiver version check Bool.DebugP
func (*Bool) DebugP ¶
Debug method is dumping value to stderr and returns itself (so you can chain it if needed) This method is intended to be used for debugging purposes This method uses pointer for value receiver version check Bool.Debug
func (Bool) FromString ¶
FromString creates new Bool struct from specifed string If string is invalid value it will assume that it is false
func (*Bool) FromStringInplace ¶
FromStringInplace changes value of this Bool struct to specified string If string is invalid value it will assume that it is false
func (Bool) FromStringToOption ¶
FromStringToOption creates new Option[Bool] struct from specifed string If string is valid value it will return Some[Bool] with corresponding Bool value If string is not valid value it will return None[Bool]
func (Bool) GetValueAny ¶
func (Bool) GreaterThan ¶
func (Bool) GreaterThanOrEqual ¶
func (Bool) LessThanOrEqual ¶
func (*Bool) SetValueAny ¶
func (Bool) Then ¶
Then returns Some(f()) if b is true, None otherwise This returns Option[any] If you need typed version use Bool_Then
func (Bool) ThenSome ¶
ThenSome returns Some(val) if b is true, None() otherwise This returns Option[any] If you need typed version use Bool_ThenSome
func (Bool) ToComplex128 ¶
func (b Bool) ToComplex128() Complex128
func (Bool) ToComplex64 ¶
type Complex128 ¶
type Complex128 complex128
type Iterator ¶
Iterator is an iterator over sequences of individual values. When called as seq(yield), seq calls yield(v) for each value v in the sequence, stopping early if yield returns false.
type IteratorKV ¶
IteratorKV2 is an iterator over sequences of pairs of values, most commonly key-value pairs. When called as seq(yield), seq calls yield(k, v) for each pair (k, v) in the sequence, stopping early if yield returns false.
type LU ¶
type LU struct{}
LogicalUnion is a type annotation for a union in practice its empty struct This is meant to be only typed annotation that is not checked
type LUI ¶
type LUI interface{}
LogicalUnionInterface is a type annotation for a union in practice its empty interface This is meant to be only typed annotation that is not checked
type LogicalUnion ¶
type LogicalUnion struct{}
LogicalUnion is a type annotation for a union in practice its empty struct This is meant to be only typed annotation that is not checked
type LogicalUnion1 ¶
type LogicalUnion1[T1 any] struct{}
type LogicalUnion10 ¶
type LogicalUnion11 ¶
type LogicalUnion12 ¶
type LogicalUnion13 ¶
type LogicalUnion14 ¶
type LogicalUnion15 ¶
type LogicalUnion16 ¶
type LogicalUnion17 ¶
type LogicalUnion18 ¶
type LogicalUnion19 ¶
type LogicalUnion2 ¶
type LogicalUnion20 ¶
type LogicalUnion3 ¶
type LogicalUnion7 ¶
type LogicalUnion8 ¶
type LogicalUnion9 ¶
type LogicalUnionInterface ¶
type LogicalUnionInterface interface{}
LogicalUnionInterface is a type annotation for a union in practice its empty interface This is meant to be only typed annotation that is not checked
type LogicalUnionInterface1 ¶
type LogicalUnionInterface1[T1 any] interface{}
type LogicalUnionInterface10 ¶
type LogicalUnionInterface11 ¶
type LogicalUnionInterface12 ¶
type LogicalUnionInterface13 ¶
type LogicalUnionInterface14 ¶
type LogicalUnionInterface15 ¶
type LogicalUnionInterface16 ¶
type LogicalUnionInterface17 ¶
type LogicalUnionInterface18 ¶
type LogicalUnionInterface19 ¶
type LogicalUnionInterface2 ¶
type LogicalUnionInterface20 ¶
type LogicalUnionInterface3 ¶
type LogicalUnionInterface4 ¶
type LogicalUnionInterface5 ¶
type LogicalUnionInterface6 ¶
type LogicalUnionInterface7 ¶
type LogicalUnionInterface8 ¶
type LogicalUnionInterface9 ¶
type Map ¶
type Map[K comparable, V any] struct { Data map[K]V }
type Mut ¶
type Mut[T any] struct { // contains filtered or unexported fields }
func (Mut[T]) Debug ¶
Debug method is dumping value to stderr and returns itself (so you can chain it if needed) This method is intended to be used for debugging purposes This method uses value for pointer receiver version check Mut.DebugP
type Nullable ¶
Nullable represents data that also can be NULL
func NullableValue ¶
NullableValue Create a Nullable from a value
func NullableValueFromPointer ¶
NullableValueFromPointer Create a Nullable from a pointer
func (Nullable[T]) ExactEqual ¶
ExactEqual Check if this Nullable is exact equal to another Nullable, never using intern Equal method to check equality
func (Nullable[T]) ExpectErr ¶
Expect error value if error is not found panic with specified message
func (*Nullable[T]) InspectRef ¶
Inspect value of this objects reference
func (Nullable[T]) OkOrElse ¶
Convert to Result using specified function's result as Err() on Null()
func (Nullable[T]) ToNullable ¶
Cast to Any Nullable
func (Nullable[T]) ToObservable ¶
func (n Nullable[T]) ToObservable() Observable[Nullable[any]]
Cast to Observable
func (Nullable[T]) ToObservableT ¶
func (n Nullable[T]) ToObservableT() Observable[Nullable[T]]
Cast to Observable
func (Nullable[T]) ToThreadSafeObject ¶
func (n Nullable[T]) ToThreadSafeObject() ThreadSafeObject[Nullable[any]]
Cast to ThreadSafeObject
func (Nullable[T]) ToThreadSafeObjectT ¶
func (n Nullable[T]) ToThreadSafeObjectT() ThreadSafeObject[Nullable[T]]
Cast to ThreadSafeObject
func (Nullable[T]) UnwrapAsResultOrErr ¶
Unwraps as result type for if error checks and run specified function f instead of panic Return result of underlying value (having err if it's found)
func (Nullable[T]) UnwrapOr ¶
func (n Nullable[T]) UnwrapOr(defaultVal T) T
Get underlying value or return default value if error is found
func (Nullable[T]) UnwrapOrDefault ¶
func (n Nullable[T]) UnwrapOrDefault() T
Get underlying value or panic if error
func (Nullable[T]) UnwrapOrErr ¶
Unwrap but if error occurs run specified function f instead of panic Return result of underlying value (having err if it's found)
func (Nullable[T]) UnwrapWithErr ¶
Unwrap value and error separately (Result -> Go normal returns)
func (Nullable[T]) ValueOrZero ¶
func (n Nullable[T]) ValueOrZero() T
ValueOrZero Get Value, or default zero value if it is NULL
type Observable ¶
type Observable[T any] struct { Value T GetHandlers []func(Observable[T]) SetHandlers []func(Observable[T]) }
Observable Object
func (*Observable[T]) AddGetHandler ¶
func (o *Observable[T]) AddGetHandler(handler func(Observable[T]))
Add Get Handler Get Handler is called when GetValue is called
func (*Observable[T]) AddSetHandler ¶
func (o *Observable[T]) AddSetHandler(handler func(Observable[T]))
Add Set Handler Set Handler is called when SetValue is called
type Onceable ¶
type Onceable[T any] struct { // contains filtered or unexported fields }
Once Object
type Option ¶
Option represents data that can be Some(v) or None
func Bool_Then ¶
ThenSome returns Some(f()) if b is true, None otherwise This returns Option[T] If you need untyped version you can use Bool.Then
func Bool_ThenSome ¶
ThenSome returns Some(val) if b is true, None otherwise This returns Option[T] If you need untyped version you can use Bool.ThenSome
func SomeDefaultValue ¶
SomeDefaultValue Get default zero value of type T
func SomeFromPointer ¶
OptionValueFromPointer Create a Option from a pointer
func (Option[T]) And ¶
And return Some(other) if both Option are Some() Or return None() if one of them is None()
func (Option[T]) AndT ¶
And return Some(other) if both Option are Some() Or return None() if one of them is None()
func (Option[T]) ExactEqual ¶
ExactEqual Check if this Option is exact equal to another Option, never using intern Equal method to check equality
func (Option[T]) InspectNone ¶
Inspect value of this object
func (*Option[T]) InspectNoneRef ¶
Inspect value of this objects reference
func (*Option[T]) InspectRef ¶
Inspect value of this objects reference
func (Option[T]) Or ¶
Or return Some(self) if self is Some Otherwise return None() or Some(other) depending on state of other
func (Option[T]) OrT ¶
Or return Some(self) if self is Some Otherwise return None() or Some(other) depending on state of other
func (Option[T]) ToObservable ¶
func (o Option[T]) ToObservable() Observable[Option[any]]
Cast to Observable
func (Option[T]) ToObservableT ¶
func (o Option[T]) ToObservableT() Observable[Option[T]]
Cast to Observable
func (Option[T]) ToThreadSafeObject ¶
func (o Option[T]) ToThreadSafeObject() ThreadSafeObject[Option[any]]
Cast to ThreadSafeObject
func (Option[T]) ToThreadSafeObjectT ¶
func (o Option[T]) ToThreadSafeObjectT() ThreadSafeObject[Option[T]]
Cast to ThreadSafeObject
func (Option[T]) UnwrapAsResultOrErr ¶
Unwraps as result type for if error checks and run specified function f instead of panic Return result of underlying value (having err if it's found)
func (Option[T]) UnwrapOr ¶
func (o Option[T]) UnwrapOr(defaultVal T) T
Get underlying value or return default value if error is found
func (Option[T]) UnwrapOrDefault ¶
func (o Option[T]) UnwrapOrDefault() T
Get underlying value or panic if error
func (Option[T]) UnwrapOrErr ¶
Unwrap but if error occurs run specified function f instead of panic Return result of underlying value (having err if it's found)
func (Option[T]) UnwrapWithErr ¶
Unwrap value and error separately (Result -> Go normal returns)
func (Option[T]) ValueOrZero ¶
func (o Option[T]) ValueOrZero() T
ValueOrZero Get Value, or default zero value if it is NULL
type ReadChannel ¶
type ReadChannel[T any] struct { Data <-chan T }
type Result ¶
Result is a type that represents a value that may be an error
func ErrWithValue ¶
Make Error Result with additional data
func (Result[T]) InspectErr ¶
Inspect value of this object
func (*Result[T]) InspectErrRef ¶
Inspect value of this objects reference
func (*Result[T]) InspectRef ¶
Inspect value of this objects reference
func (Result[T]) ToObservable ¶
func (r Result[T]) ToObservable() Observable[Result[any]]
Cast to Observable
func (Result[T]) ToObservableT ¶
func (r Result[T]) ToObservableT() Observable[Result[T]]
Cast to Observable
func (Result[T]) ToThreadSafeObject ¶
func (r Result[T]) ToThreadSafeObject() ThreadSafeObject[Result[any]]
Cast to ThreadSafeObject
func (Result[T]) ToThreadSafeObjectT ¶
func (r Result[T]) ToThreadSafeObjectT() ThreadSafeObject[Result[T]]
Cast to ThreadSafeObject
func (Result[T]) UnwrapAsResultOrErr ¶
Unwraps as result type for if error checks and run specified function f instead of panic Return result of underlying value (having err if it's found)
func (Result[T]) UnwrapOr ¶
func (r Result[T]) UnwrapOr(defaultVal T) T
Get underlying value or return default value if error is found
func (Result[T]) UnwrapOrErr ¶
Unwrap but if error occurs run specified function f instead of panic Return result of underlying value (having err if it's found)
func (Result[T]) UnwrapWithErr ¶
Unwrap value and error separately (Result -> Go normal returns)
type TemplateType ¶
type TemplateType interface { // Length Len() LUI10[int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64] LenResult() Result[LUI10[int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64]] // Contains Contains(any) bool // Insert Insert(any) dev.Self InsertInplace(any) // Append Append(any) dev.Self AppendInplace(any) // Prepend Prepend(any) dev.Self PrependInplace(any) // Cast ToResult() Result[any] ToNullable() Nullable[any] ToOption() Option[any] ToIter() Iterator[any] ToThreadSafeObject() ThreadSafeObject[any] ToArc() Arc[any] ToRc() Rc[any] ToMut() Mut[any] ToObservable() Observable[any] ToOnceable() Onceable[any] ToArray() []any ToSlice() []any ToMap() map[any]any ToPointer() *any ToValue() any ToString() string String() string GoString() string ToX() todo.TodoInterface // Compare Compare(any) ThreeWayComparable Equal(any) bool NotEqual(any) bool LessThan(any) bool LessThanOrEqual(any) bool GreaterThan(any) bool GreaterThanOrEqual(any) bool // Copy Copy() dev.Self Clone() dev.Self Move() dev.Self // Elements View() string Render() string // Get Get() any GetValue() any // Set Set(any) SetValue(any) // Math Add(any) any Sub(any) any Mul(any) any Div(any) any Mod(any) any AddInplace(any) any SubInplace(any) any MulInplace(any) any DivInplace(any) any ModInplace(any) any // From FromString(string) any FromStringInplace(string) FromIter(Iterator[any]) any FromIterInplace(Iterator[any]) FromMut(Mut[any]) any FromMutInplace(Mut[any]) FromX(todo.TodoInterface) any FromXInplace(todo.TodoInterface) // To Tuple ToTuple1() any ToTuple2() (any, any) ToTuple3() (any, any, any) ToTuple4() (any, any, any, any) ToTuple5() (any, any, any, any, any) ToTuple6() (any, any, any, any, any, any) ToTuple7() (any, any, any, any, any, any, any) ToTuple8() (any, any, any, any, any, any, any, any) ToTuple9() (any, any, any, any, any, any, any, any, any) ToTuple10() (any, any, any, any, any, any, any, any, any, any) ToTuple11() (any, any, any, any, any, any, any, any, any, any, any) ToTuple12() (any, any, any, any, any, any, any, any, any, any, any, any) ToTuple13() (any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple14() (any, any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple15() (any, any, any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple16() (any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple17() (any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple18() (any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple19() (any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any) ToTuple20() (any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any) // To Fixed Array ToFixedArray1() [1]any ToFixedArray2() [2]any ToFixedArray3() [3]any ToFixedArray4() [4]any ToFixedArray5() [5]any ToFixedArray6() [6]any ToFixedArray7() [7]any ToFixedArray8() [8]any ToFixedArray9() [9]any ToFixedArray10() [10]any ToFixedArray11() [11]any ToFixedArray12() [12]any ToFixedArray13() [13]any ToFixedArray14() [14]any ToFixedArray15() [15]any ToFixedArray16() [16]any ToFixedArray17() [17]any ToFixedArray18() [18]any ToFixedArray19() [19]any ToFixedArray20() [20]any }
type ThreadSafeObject ¶
type ThreadSafeObject[T any] struct { // contains filtered or unexported fields }
Thread Safe Object that builds arround some value and make methods to set it and get it in thread safe way
func MakeThreadSafeObject ¶
func MakeThreadSafeObject[T any](obj T) ThreadSafeObject[T]
func (*ThreadSafeObject[T]) Get ¶
func (tso *ThreadSafeObject[T]) Get() T
Get underlying object value
func (*ThreadSafeObject[T]) Set ¶
func (tso *ThreadSafeObject[T]) Set(newObj T)
Set underlying object to new value
type ThreeWayComparable ¶
type ThreeWayComparable int8
-1 = < | 0 = = | 1 = > (a <=> b) < 0 if a < b, (a <=> b) > 0 if a > b, (a <=> b) == 0 if a and b are equal/equivalent.
const ( ThreeWayComparable__LessThan ThreeWayComparable = -1 ThreeWayComparable__Equal ThreeWayComparable = 0 ThreeWayComparable__GreaterThan ThreeWayComparable = 1 )
type ToBoolInterface ¶
type ToBoolInterface interface {
ToBool() Bool
}
type Tuple10 ¶
type Tuple10[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 }
func FromTuple10 ¶
type Tuple11 ¶
type Tuple11[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 }
func FromTuple11 ¶
type Tuple12 ¶
type Tuple12[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 }
func FromTuple12 ¶
type Tuple13 ¶
type Tuple13[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 }
func FromTuple13 ¶
type Tuple14 ¶
type Tuple14[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 }
func FromTuple14 ¶
type Tuple15 ¶
type Tuple15[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, T15 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 D15 T15 }
func FromTuple15 ¶
type Tuple16 ¶
type Tuple16[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, T15 any, T16 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 D15 T15 D16 T16 }
func FromTuple16 ¶
type Tuple17 ¶
type Tuple17[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, T15 any, T16 any, T17 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 D15 T15 D16 T16 D17 T17 }
func FromTuple17 ¶
func FromTuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17 any]( o1 T1, o2 T2, o3 T3, o4 T4, o5 T5, o6 T6, o7 T7, o8 T8, o9 T9, o10 T10, o11 T11, o12 T12, o13 T13, o14 T14, o15 T15, o16 T16, o17 T17, ) Tuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]
type Tuple18 ¶
type Tuple18[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, T15 any, T16 any, T17 any, T18 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 D15 T15 D16 T16 D17 T17 D18 T18 }
func FromTuple18 ¶
func FromTuple18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 any]( o1 T1, o2 T2, o3 T3, o4 T4, o5 T5, o6 T6, o7 T7, o8 T8, o9 T9, o10 T10, o11 T11, o12 T12, o13 T13, o14 T14, o15 T15, o16 T16, o17 T17, o18 T18, ) Tuple18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]
type Tuple19 ¶
type Tuple19[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, T15 any, T16 any, T17 any, T18 any, T19 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 D15 T15 D16 T16 D17 T17 D18 T18 D19 T19 }
func FromTuple19 ¶
func FromTuple19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19 any]( o1 T1, o2 T2, o3 T3, o4 T4, o5 T5, o6 T6, o7 T7, o8 T8, o9 T9, o10 T10, o11 T11, o12 T12, o13 T13, o14 T14, o15 T15, o16 T16, o17 T17, o18 T18, o19 T19, ) Tuple19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]
type Tuple2 ¶
func FromTuple2 ¶
type Tuple20 ¶
type Tuple20[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, T10 any, T11 any, T12 any, T13 any, T14 any, T15 any, T16 any, T17 any, T18 any, T19 any, T20 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 D10 T10 D11 T11 D12 T12 D13 T13 D14 T14 D15 T15 D16 T16 D17 T17 D18 T18 D19 T19 D20 T20 }
func FromTuple20 ¶
func FromTuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20 any]( o1 T1, o2 T2, o3 T3, o4 T4, o5 T5, o6 T6, o7 T7, o8 T8, o9 T9, o10 T10, o11 T11, o12 T12, o13 T13, o14 T14, o15 T15, o16 T16, o17 T17, o18 T18, o19 T19, o20 T20, ) Tuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]
type Tuple3 ¶
func FromTuple3 ¶
type Tuple4 ¶
func FromTuple4 ¶
type Tuple5 ¶
func FromTuple5 ¶
type Tuple6 ¶
type Tuple6[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 }
func FromTuple6 ¶
type Tuple7 ¶
type Tuple7[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 }
func FromTuple7 ¶
type Tuple8 ¶
type Tuple8[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 }
func FromTuple8 ¶
type Tuple9 ¶
type Tuple9[ T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any, ] struct { D1 T1 D2 T2 D3 T3 D4 T4 D5 T5 D6 T6 D7 T7 D8 T8 D9 T9 }
func FromTuple9 ¶
type TypedErrorResult ¶
TypedErrorResult is Result wrapper type that additionally annotates error types This error type is not checked its just annotation
type TypedErrorResultE ¶
TypedErrorResultE is Result wrapper type that additionally annotates error types This error type is not checked its just annotation This structure is same as TypedErrorResult but error type on this one is more strict to error interface Whereas TypedErrorResult is taking anything
type TypedTemplateType ¶
type TypedTemplateType[Self any, T any, T2 any, TC comparable] interface { // Contains ContainsT(T) bool // Insert InsertT(T) Self InsertInplaceT(T) // Append AppendT(T) Self AppendInplaceT(T) // Prepend PrependT(T) Self PrependInplaceT(T) // Cast ToResultT() Result[T] ToNullableT() Nullable[T] ToOptionT() Option[T] ToIterT() Iterator[T] ToThreadSafeObjectT() ThreadSafeObject[T] ToArcT() Arc[T] ToRcT() Rc[T] ToMutT() Mut[T] ToObservableT() Observable[T] ToOnceableT() Onceable[T] ToArrayT() []T ToSliceT() []T ToMapT() map[TC]T ToPointerT() *T ToValueT() T ToPointer() *Self ToValue() Self ToX() todo.TodoInterface // Compare Compare(T) ThreeWayComparable Equal(T) bool NotEqual(T) bool LessThan(T) bool LessThanOrEqual(T) bool GreaterThan(T) bool GreaterThanOrEqual(T) bool // Copy Copy() dev.Self Clone() dev.Self Move() dev.Self // Elements View() string Render() string // Get Get() T GetValue() T // Set Set(T) SetValue(T) // Math Add(T) T Sub(T) T Mul(T) T Div(T) T Mod(T) T AddInplace(T) T SubInplace(T) T MulInplace(T) T DivInplace(T) T ModInplace(T) T // From FromString(string) T FromStringInplace(string) FromIter(Iterator[T]) T FromIterInplace(Iterator[T]) FromMut(Mut[T]) T FromMutInplace(Mut[T]) FromX(todo.TodoInterface) any FromXInplace(todo.TodoInterface) // To Tuple ToTuple1() T ToTuple2() (T, T) ToTuple3() (T, T, T) ToTuple4() (T, T, T, T) ToTuple5() (T, T, T, T, T) ToTuple6() (T, T, T, T, T, T) ToTuple7() (T, T, T, T, T, T, T) ToTuple8() (T, T, T, T, T, T, T, T) ToTuple9() (T, T, T, T, T, T, T, T, T) ToTuple10() (T, T, T, T, T, T, T, T, T, T) ToTuple11() (T, T, T, T, T, T, T, T, T, T, T) ToTuple12() (T, T, T, T, T, T, T, T, T, T, T, T) ToTuple13() (T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple14() (T, T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple15() (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple16() (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple17() (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple18() (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple19() (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) ToTuple20() (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) // To Fixed Array ToFixedArray1() [1]T ToFixedArray2() [2]T ToFixedArray3() [3]T ToFixedArray4() [4]T ToFixedArray5() [5]T ToFixedArray6() [6]T ToFixedArray7() [7]T ToFixedArray8() [8]T ToFixedArray9() [9]T ToFixedArray10() [10]T ToFixedArray11() [11]T ToFixedArray12() [12]T ToFixedArray13() [13]T ToFixedArray14() [14]T ToFixedArray15() [15]T ToFixedArray16() [16]T ToFixedArray17() [17]T ToFixedArray18() [18]T ToFixedArray19() [19]T ToFixedArray20() [20]T }
type WriteChannel ¶
type WriteChannel[T any] struct { Data chan<- T }