mirror of
https://github.com/strongdm/comply
synced 2024-11-05 15:35:25 +00:00
18 lines
272 B
Go
18 lines
272 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"path/filepath"
|
|
"runtime"
|
|
|
|
"github.com/joho/godotenv"
|
|
"github.com/strongdm/comply/internal/cli"
|
|
)
|
|
|
|
func main() {
|
|
_, b, _, _ := runtime.Caller(0)
|
|
basepath := filepath.Dir(b)
|
|
godotenv.Load(fmt.Sprintf("%s/.env", basepath))
|
|
cli.Main()
|
|
}
|