config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 7 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 {
	Package string
	Prefix  string
	Output  string
	Files   []ConfigFile
}

func NewConfig

func NewConfig(p string) Config

func (*Config) PrepareFolder

func (c *Config) PrepareFolder()

type ConfigFile

type ConfigFile struct {
	Original string
	New      string
}

type Mock

type Mock struct {
	Package string   `yaml:"package"`
	Path    string   `yaml:"path"`
	Files   []string `yaml:"files"`
	Output  string   `yaml:"output"`
	Prefix  string   `yaml:"prefix"`
}

type MooncakeFile

type MooncakeFile struct {
	Mocks Mock `yaml:"mocks"`
}

Jump to

Keyboard shortcuts

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