23 lines
228 B
Go
Raw Normal View History

2025-02-22 12:50:26 +08:00
package main
import (
"context"
"log"
"go.uber.org/fx"
)
func main() {
ctx := context.Background()
app, err := fx.New()
if err != nil {
log.Fatal(err)
}
if err := app.Run(ctx); err != nil {
log.Fatal(err)
}
}