File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,9 +57,8 @@ type ServerConfig struct {
5757 Requests int `json:"requests" yaml:"requests"`
5858 Duration int `json:"duration" yaml:"duration"`
5959 } `json:"limiter" yaml:"limiter"`
60- Devmode bool `json:"devmode" yaml:"devmode"`
61- HTTP3Enabled bool `json:"http3_enabled" yaml:"http3_enabled"`
62- CertAutoControlEnabled bool `json:"cert_ctrl_enabled" yaml:"cert_ctrl_enabled"`
60+ Devmode bool `json:"devmode" yaml:"devmode"`
61+ HTTP3Enabled bool `json:"http3_enabled" yaml:"http3_enabled"`
6362}
6463
6564type Config struct {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import "time"
55type ArticleSummary struct {
66 Title string `json:"title" gorm:"primaryKey"`
77 UpdateAt * time.Time `json:"updateAt" gorm:"autoUpdateTime;"`
8- Category string `json:"category" gorm:"type:VARCHAR(100 )"`
8+ Category string `json:"category" gorm:"type:VARCHAR(255 )"`
99 Summary string `json:"summary" gorm:"type:TEXT"`
1010}
1111
You can’t perform that action at this time.
0 commit comments