package main import ( "log" "midnadimple.com/fog/internal/env" ) func main() { cfg := config{ addr: env.GetString("FOG_ADDR", ":8080"), } v1 := &v1Handler{ healthCheck: &healthCheckHandler{}, } app := &application{ config: cfg, v1: v1, } log.Fatal(app.run()) }