generator

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
}

Generator is the generator used to convert model.DataTypes into Go source file

func (*Generator) GenerateFile

func (*Generator) GenerateFile(f model.File) ([]byte, error)

GenerateFile generates a formatted Go source file based on the given model.File representation

Jump to

Keyboard shortcuts

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