refactor: use existing PreventSurroundingPre

This commit is contained in:
httpjamesm 2022-12-29 12:22:59 -05:00
parent 10e7c89e96
commit c0df07abad
6 changed files with 26 additions and 15 deletions

3
env/checks.go vendored
View file

@ -3,9 +3,12 @@ package env
import (
"fmt"
"os"
"github.com/joho/godotenv"
)
func RunChecks() {
godotenv.Load(".env")
checkEnv("APP_URL")
}