generate

package
v0.0.0-...-3758aa5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(opts *Opts) error

Generate CRUD function for the file given

Types

type FileStub

type FileStub struct {
	PackageName string
	Imports     []string
}

type Opts

type Opts struct {
	Filename       string `bson:"filename" json:"filename,omitempty"`
	GenAnotherFile bool   `json:"gen_another_file,omitempty"`
}

Opts specifies the options that generate accepts

Jump to

Keyboard shortcuts

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