ast

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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