structtype

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PropToCamel

type PropToCamel map[string]string

func (PropToCamel) GetValue

func (p PropToCamel) GetValue(key string) string

type PropToTag

type PropToTag map[string]string

func (PropToTag) GetValue

func (p PropToTag) GetValue(key string) string

type PropToType

type PropToType map[string]string

func (PropToType) GetValue

func (p PropToType) GetValue(key string) string

type StructType

type StructType struct{ *ast.StructType }

func GetFromDeclsByName

func GetFromDeclsByName(decls []ast.Decl, name string) *StructType

func (*StructType) GetPropToCamel

func (s *StructType) GetPropToCamel() PropToCamel

func (*StructType) GetPropToTag

func (s *StructType) GetPropToTag(tag string) PropToTag

func (*StructType) GetPropToType

func (s *StructType) GetPropToType() PropToType

Jump to

Keyboard shortcuts

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