Structs§
- Array
Detail - An ArrayDetail represents an array type.
- Basic
Detail - A BasicDetail represents a basic type.
- Chan
Detail - Interface
Detail - An InterfaceDetail represents an interface type.
- MapDetail
- Named
Detail - Pointer
Detail - A PointerDetail represents a pointer type.
- Signature
Detail - A SignatureDetail represents a (non-builtin) function or method type. The receiver is ignored when comparing signatures for identity.
- Slice
Detail - A Slice represents a slice type.
- Struct
Detail - A StructDetail represents a struct type
- Tuple
Detail - A TupleDetail represents an ordered list of variables Tuples are used as components of signatures and to represent the type of multiple assignments; they are not first class types of Go.
Enums§
Functions§
- comparable
- comparable reports whether values of type T are comparable.
- deep_
underlying_ type - deep_underlying_type returns the ‘deep’ underlying type of type ‘t’ chains only exist while named types are incomplete.
- fmt_
signature - fmt_
type - has_nil
- has_nil reports whether a type includes the nil value.
- identical
- identical reports whether x and y are identical types. Receivers of Signature types are ignored.
- identical_
ignore_ tags - identical_ignore_tags reports whether x and y are identical types if tags are ignored. Receivers of Signature types are ignored.
- identical_
ignore_ tags_ o - identical_ignore_tags_o is the same as identical_ignore_tags except for the parameters
- identical_
o - identical_o is the same as identical except for the parameters
- is_
boolean - is_
complex - is_
const_ type - is_
float - is_
integer - is_
interface - is_
named - is_
numeric - is_
ordered - is_
string - is_
typed - is_
unsigned - is_
untyped - size_of
- size_of only works for typed basic types for now it panics with untyped, and return the size of machine word size for all other types
- underlying_
type - underlying_type returns the underlying type of type ‘t’
- untyped_
default_ type - untyped_default_type returns the default “typed” type for an “untyped” type; it returns the incoming type for all other types. The default type for untyped nil is untyped nil.