Add the Go Gin backend skeleton, Vue frontend shell, health check, CI workflow, implementation docs, and static review demo.\n\nCo-Authored-By: Craft Agent <agents-noreply@craft.do>
19 lines
255 B
Go
19 lines
255 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"license-platform/backend/internal/httpapi"
|
|
)
|
|
|
|
func main() {
|
|
addr := os.Getenv("HTTP_ADDR")
|
|
if addr == "" {
|
|
addr = "127.0.0.1:18080"
|
|
}
|
|
if err := httpapi.NewRouter().Run(addr); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|