gen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 6 Imported by: 0

README

gen

Utils for generating go code.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Options optionFactory

Functions

func Gen

func Gen(filename, tmpl string, data interface{}, options ...Option)

func GoFmt

func GoFmt(filename string)

func ParseFlagTypes

func ParseFlagTypes() []string

Types

type Option

type Option func(cfg *config)

Jump to

Keyboard shortcuts

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