cfg

package
v0.150.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZebraConfig

type ZebraConfig struct {
	Out        string
	GoFile     string
	Encode     bool
	Marshal    bool
	Tests      bool
	Unexported bool

	WriteSchema     string
	GenSchemaId     bool
	UseZid          bool
	ReadStringsFast bool
}

func (*ZebraConfig) DefineFlags

func (c *ZebraConfig) DefineFlags(fs *flag.FlagSet)

call DefineFlags before myflags.Parse()

func (*ZebraConfig) ValidateConfig

func (c *ZebraConfig) ValidateConfig() error

call c.ValidateConfig() after myflags.Parse()

Jump to

Keyboard shortcuts

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