types

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BasicTypes = map[reflect.Kind]basicType{
	reflect.Bool:      new(boolType),
	reflect.Float32:   new(float32Type),
	reflect.Float64:   new(float64Type),
	reflect.Int:       new(intType),
	reflect.Int8:      new(int8Type),
	reflect.Int16:     new(int16Type),
	reflect.Int32:     new(int32Type),
	reflect.Int64:     new(int64Type),
	reflect.String:    new(stringType),
	reflect.Uint:      new(uintType),
	reflect.Uint8:     new(uint8Type),
	reflect.Uint16:    new(uint16Type),
	reflect.Uint32:    new(uint32Type),
	reflect.Uint64:    new(uint64Type),
	reflect.Interface: new(interfaceType),
}

BasicTypes the base types usable in the contract api

View Source
var ErrorType = reflect.TypeOf((*error)(nil)).Elem()

ErrorType reflect type for errors

View Source
var TimeType = reflect.TypeOf(time.Time{})

TimeType reflect type for time

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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