config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Server struct {
		Host   string `default:"localhost:8080" yaml:"host"`
		Target string `default:"server.php" yaml:"target"`
	} `yaml:"server"`
	Namespace string `default:"Csr\\Skeleton" yaml:"namespace"`
	Source    string `default:"./src" yaml:"source"`
}

func (*Cfg) NewConfig

func (cfg *Cfg) NewConfig(path string) (err error)

Jump to

Keyboard shortcuts

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