add initial application structure with configuration, logging, and health check endpoints
This commit is contained in:
@@ -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 GearSetInfo struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
func (GearSetInfo) Table() string {
|
||||
return "gear_set_info"
|
||||
func (GearSetInfo) Annotations() []schema.Annotation {
|
||||
return []schema.Annotation{
|
||||
entsql.Annotation{Table: "gear_set_info"},
|
||||
}
|
||||
}
|
||||
|
||||
func (GearSetInfo) Fields() []ent.Field {
|
||||
|
||||
Reference in New Issue
Block a user