types

package
v0.0.0-...-272d833 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	String     = "string"
	Complex64  = "complex64"
	Complex128 = "complex128"
	Float32    = "float32"
	Float64    = "float64"
	Uint8      = "uint8"
	Uint16     = "uint16"
	Uint32     = "uint32"
	Uint64     = "uint64"
	Int        = "int"
	Int8       = "int8"
	Int16      = "int16"
	Int32      = "int32"
	Int64      = "int64"
	UintPtr    = "uintptr"
	Error      = "error"
	Bool       = "bool"
)

Variables

This section is empty.

Functions

func GetPrimitiveType

func GetPrimitiveType(typ string, obj *ast.Object) string

GetPrimitiveType will return the primitive type if possible, if not just return the type

func IsPrimitives

func IsPrimitives(val string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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