Add package declarations across the Go scaffold, YAML configuration loading and validation, and a minimal API entry point. Add development and production Compose files, a multi-stage Docker image, configuration template, and Make targets. Remove the directory scaffolding script.
14 lines
173 B
Go
14 lines
173 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"git.my-rm.com/Robot-Market/shop-backend/internal/app"
|
|
)
|
|
|
|
func main() {
|
|
if _, err := app.LoadConfig(""); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|