strct

package
v0.0.0-...-5e3efa3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GenTypeKeys = "struct_keys"
View Source
const GenTypeToMap = "struct_tomap"
View Source
const GenTypeWrapper = "struct_wrapper"

Variables

This section is empty.

Functions

func NewKeysGenerator

func NewKeysGenerator() gen.IGen

func NewToStringMapGenerator

func NewToStringMapGenerator() gen.IGen

func NewWrapperGenerator

func NewWrapperGenerator() gen.IGen

Types

type KeyData

type KeyData struct {
	Json string
}

type KeysGenerator

type KeysGenerator struct {
	// contains filtered or unexported fields
}

func (*KeysGenerator) Gen

func (g *KeysGenerator) Gen(v *parser.Struct) []byte

type ToStringMapGenerator

type ToStringMapGenerator struct {
}

func (*ToStringMapGenerator) Gen

func (g *ToStringMapGenerator) Gen(v *parser.Struct) []byte

type WrapperGenerator

type WrapperGenerator struct {
}

func (*WrapperGenerator) Gen

func (g *WrapperGenerator) Gen(v *parser.Struct) []byte

Jump to

Keyboard shortcuts

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