feat: ent ORM, admin UI, client auth, Fyne GUI, Windows/MSI packaging
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package schema
|
||||
|
||||
import (
|
||||
"entgo.io/ent"
|
||||
"entgo.io/ent/schema/field"
|
||||
)
|
||||
|
||||
type ServerConfig struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
func (ServerConfig) Fields() []ent.Field {
|
||||
return []ent.Field{
|
||||
field.String("key").Unique(),
|
||||
field.String("value"),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user