config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 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 ConfigStruct

type ConfigStruct struct {
	DartProject struct {
		Path        string `ms:"path"`
		GeneratedIn string `ms:"generated-in"`
	} `ms:"dart-project"`
	Packages struct {
		Renames map[string]string `ms:"renames"`
	} `ms:"packages"`
}
var Struct ConfigStruct

func (*ConfigStruct) Parse

func (c *ConfigStruct) Parse()

type OptsStruct

type OptsStruct struct {
	GoDir struct {
		Value string `positional-arg-name:"go-dir" required:"1"`
	} `positional-args:"yes"`
	ConfigFile string `short:"c" long:"config" default:"dgo.config.yaml" description:"Path to dgo generator config file"`
	IrFile     string `short:"i" long:"ir-file" default:"" description:"Path to dump IR JSON File"`
}
var Opts OptsStruct

Jump to

Keyboard shortcuts

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