1
0
mirror of https://github.com/strongdm/comply synced 2024-07-02 23:14:22 +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()
}