generator

package
v0.0.0-...-0a897ee Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCode

func GenerateCode(typeDef *parser.Type) ([]byte, error)

GenerateCode executes the template based on parsed struct data

func SaveCode

func SaveCode(typeDef *parser.Type, code []byte) error

SaveCode will save the generated code to file Filename format Lowecase(<struct name>decoder.go)

Types

This section is empty.

Jump to

Keyboard shortcuts

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