1
0
mirror of https://github.com/strongdm/comply synced 2024-11-05 15:35:25 +00:00
comply/comply.go

18 lines
272 B
Go
Raw Normal View History

2018-05-15 21:13:11 +00:00
package main
import (
"fmt"
"path/filepath"
"runtime"
"github.com/joho/godotenv"
"github.com/strongdm/comply/internal/cli"
)
2018-05-15 21:13:11 +00:00
func main() {
_, b, _, _ := runtime.Caller(0)
basepath := filepath.Dir(b)
godotenv.Load(fmt.Sprintf("%s/.env", basepath))
2018-05-15 21:13:11 +00:00
cli.Main()
}