 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      
          Rendered for js/wasm
        
      Index ¶
- Variables
- func ArrayOf(count int, elem Type) Type
- func ChanOf(dir ChanDir, t Type) Type
- func Copy(dst, src Value) int
- func DeepEqual(a1, a2 interface{}) bool
- func FuncOf(in, out []Type, variadic bool) Type
- func MapOf(key, elem Type) Type
- func PtrTo(t Type) Type
- func SliceOf(t Type) Type
- func Swapper(slice interface{}) func(i, j int)
- func TypeOf(i interface{}) Type
- type ChanDir
- type Method
- type SelectDir
- type StructTag
- type TypeEx
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	ErrSyntax = &errorString{"invalid syntax"}
)
    Functions ¶
Types ¶
type Method ¶
type Method struct {
	// Name is the method name.
	// PkgPath is the package path that qualifies a lower case (unexported)
	// method name. It is empty for upper case (exported) method names.
	// The combination of PkgPath and Name uniquely identifies a method
	// in a method set.
	// See https://golang.org/ref/spec#Uniqueness_of_identifiers
	Name    string
	PkgPath string
	Type  Type  // method type
	Func  Value // func with receiver as first argument
	Index int   // index for Type.Method
}
    Method represents a single method.
type SelectDir ¶
type SelectDir int
A SelectDir describes the communication direction of a select case.
const ( SelectSend SelectDir // case Chan <- Send SelectRecv // case <-Chan: SelectDefault // default )
type StructTag ¶
type StructTag string
A StructTag is the tag string in a struct field.
By convention, tag strings are a concatenation of optionally space-separated key:"value" pairs. Each key is a non-empty string consisting of non-control characters other than space (U+0020 ' '), quote (U+0022 '"'), and colon (U+003A ':'). Each value is quoted using U+0022 '"' characters and Go string literal syntax.
 Click to show internal directories. 
   Click to hide internal directories.