mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
19 lines
225 B
Go
19 lines
225 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"route256/loms/internal/app"
|
|
)
|
|
|
|
func main() {
|
|
srv, err := app.NewApp(os.Getenv("CONFIG_FILE"))
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
if err := srv.ListenAndServe(); err != nil {
|
|
panic(err)
|
|
}
|
|
}
|