Documentation ¶
Overview ¶
Package config provides functions for parsing command line args and JSON config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseOptions = _BaseOptions{}
View Source
var DiffFlags = flag.NewFlagSet("diff", flag.ExitOnError)
View Source
var ImportFlags = flag.NewFlagSet("import", flag.ExitOnError)
View Source
var ImportOptions = _ImportOptions{}
Functions ¶
func ParseDiffImport ¶
func ParseDiffImport(args []string)
func ParseImport ¶
func ParseImport(args []string)
func UsageImport ¶
func UsageImport()
Types ¶
type Config ¶
type Config struct { CacheDir string `json:"cachedir"` DiffDir string `json:"diffdir"` Connection string `json:"connection"` MappingFile string `json:"mapping"` LimitTo string `json:"limitto"` LimitToCacheBuffer float64 `json:"limitto_cache_buffer"` Srid int `json:"srid"` Schemas Schemas `json:"schemas"` }
Click to show internal directories.
Click to hide internal directories.