config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	File   string
	Name   string
	Repo   string
	Models struct {
		Enabled     bool
		Package     string
		Output      string
		Definitions string
	}
	Routes struct {
		Enabled    bool
		Name       string
		Definition string
		Output     string
		Repo       string
	}
	Jobs struct {
		Enabled     bool
		Package     string
		Definitions string
		Output      string
	}
}

func DefaultConfig

func DefaultConfig() *Config

func (*Config) Path

func (c *Config) Path(arg ...string) string

func (*Config) Root

func (c *Config) Root() string

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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