add initial application structure with configuration, logging, and health check endpoints

This commit is contained in:
kever
2026-01-15 22:48:28 +08:00
parent fe67f09e72
commit 2efefc7e05
24 changed files with 178 additions and 83 deletions

View File

@@ -2,6 +2,8 @@ package entity
import (
"entgo.io/ent"
"entgo.io/ent/dialect/entsql"
"entgo.io/ent/schema"
"entgo.io/ent/schema/field"
)
@@ -9,8 +11,10 @@ type FribbleHeroSet struct {
ent.Schema
}
func (FribbleHeroSet) Table() string {
return "fribble_hero_set"
func (FribbleHeroSet) Annotations() []schema.Annotation {
return []schema.Annotation{
entsql.Annotation{Table: "fribble_hero_set"},
}
}
func (FribbleHeroSet) Fields() []ent.Field {