ast

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BoolType = reflect.TypeOf(false)
View Source
var Float32Type = reflect.TypeOf(float32(0.0))
View Source
var Float64Type = reflect.TypeOf(0.0)
View Source
var Int16Type = reflect.TypeOf(int16(0))
View Source
var Int32Type = reflect.TypeOf(int32(0))
View Source
var Int64Type = reflect.TypeOf(int64(0))
View Source
var Int8Type = reflect.TypeOf(int8(0))
View Source
var IntType = reflect.TypeOf(0)
View Source
var InterfaceType = reflect.TypeOf(aStruct{}).Field(0).Type
View Source
var StringType = reflect.TypeOf("")
View Source
var TimeType = reflect.TypeOf(time.Time{})
View Source
var Uint16Type = reflect.TypeOf(uint16(0))
View Source
var Uint32Type = reflect.TypeOf(uint32(0))
View Source
var Uint64Type = reflect.TypeOf(uint64(0))
View Source
var Uint8Type = reflect.TypeOf(uint8(0))
View Source
var UintType = reflect.TypeOf(uint(0))

Functions

func Parse

func Parse(dataType string, extraTypes ...reflect.Type) (reflect.Type, error)

Types

type Modifier

type Modifier func(p reflect.Type) reflect.Type

type TypeDef

type TypeDef struct {
	Name string
	Type reflect.Type
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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