structfield

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TAG_REGEX = regexp.MustCompile(`gobindlua:"([^"]+)"`)

Functions

func GetLuaNameFromTag added in v0.0.4

func GetLuaNameFromTag(field *types.Var, tag string) string

Types

type StructField

type StructField struct {
	FieldName string
	LuaName   string
	datatype.DataType
}

func CreateStructField

func CreateStructField(field *types.Var, luaName string, packageSource *packages.Package, allDeclaredInterfaces []declaredinterface.DeclaredInterface) StructField

Jump to

Keyboard shortcuts

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