config

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const File = ".goss.yml"

File The name of configuration file.

Variables

This section is empty.

Functions

func ReadInConfig

func ReadInConfig(path string) (*viper.Viper, error)

ReadInConfig Load the configuration file from the specified path.

func ReadInUserHomeConfig

func ReadInUserHomeConfig() (*viper.Viper, error)

ReadInUserHomeConfig Load the configuration file from user home directory.

func UserHomeConfigPath

func UserHomeConfigPath() (string, error)

UserHomeConfigPath Get the user home directory configuration path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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