panel/cmd/root_dev.go
2024-11-06 15:18:14 -05:00

16 lines
174 B
Go

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