config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 4 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 {
	// Environment refers to fwConfig.Environment
	Environment fwConfig.Environment `json:"environment" yaml:"environment"`

	// DirLocations refers to fwConfig.Config
	DirLocations fwConfig.DirLocations `json:"dirLocations" yaml:"dirLocations"`
}

Config represent Config

func NewConfig

func NewConfig(path string) (*Config, *viper.Viper, error)

NewConfig create new Config

func (*Config) CanRunTest

func (c *Config) CanRunTest() bool

CanRunTest can Run Test

func (*Config) ToJSON

func (c *Config) ToJSON() []byte

ToJSON convert Config to JSON

Jump to

Keyboard shortcuts

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