typ

package
v1.1.0-rc5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func F

func F()

Types

type AnyMap

type AnyMap[K comparable, V any] map[K]V

type AnySlice

type AnySlice[V any] []V

func (AnySlice[V]) Each

func (m AnySlice[V]) Each()

type AnyStruct

type AnyStruct[V any] struct {
	Struct
	Name V
}

type Array

type Array [1]string

type Bool

type Bool bool

type Chan

type Chan chan string

type Complex128

type Complex128 complex128

type Complex64

type Complex64 complex64

type DeepCompose

type DeepCompose struct {
	Struct
}

type Enum

type Enum int
const (
	ENUM__ONE Enum = iota + 1 // one
	ENUM__TWO                 // two
)

func (Enum) MarshalText

func (e Enum) MarshalText() ([]byte, error)

func (*Enum) UnmarshalText

func (e *Enum) UnmarshalText(text []byte) error

type Float32

type Float32 float32

type Float64

type Float64 float64

type Func

type Func func(a, b string) bool

type Int

type Int int

type Int16

type Int16 int16

type Int32

type Int32 int32

type Int64

type Int64 int64

type Int8

type Int8 int8

type IntMap

type IntMap = AnyMap[Enum, any]

type Interface

type Interface interface {
	String() string
}

type Map

type Map map[string]string

type Part

type Part struct {
	C string `json:"c"`
}

func (*Part) PtrValue

func (*Part) PtrValue() string

func (Part) Value

func (Part) Value() string

type Slice

type Slice []string

type SomeMixInterface

type SomeMixInterface interface {
	encoding.TextMarshaler
	Stringify(ctx context.Context, vs ...any) string
	Add(a, b string) string
	Bytes() []byte
	// contains filtered or unexported methods
}

type String

type String string

type Struct

type Struct struct {
	Interface

	A    string `json:"a"`
	B    string `json:"b"`
	Bool `json:"bool,omitempty"`
	typ.Part
	Part2 Part `json:",omitempty"`
	// contains filtered or unexported fields
}

func (Struct) String

func (Struct) String() string

type Uint

type Uint uint

type Uint16

type Uint16 uint16

type Uint32

type Uint32 uint32

type Uint64

type Uint64 uint64

type Uint8

type Uint8 uint8

type Uintptr

type Uintptr uintptr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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