goscan/cmd/root_dev.go
Shane C 03e9e6bc40
All checks were successful
GoSec Scan / Gosec Check (push) Successful in 7s
add basic bot
2024-09-13 16:56:18 -04:00

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)
}