17 lines
175 B
Go
17 lines
175 B
Go
//go:build dev
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/spf13/viper"
|
|
)
|
|
|
|
func init() {
|
|
path, err := os.Getwd()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
viper.AddConfigPath(path)
|
|
}
|