We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 284db90 commit bf8a43fCopy full SHA for bf8a43f
bin/revsuit_linux_amd64
27.4 MB
pkg/rhttp/rule.go
@@ -15,7 +15,7 @@ type Rule struct {
15
rule.BaseRule `yaml:",inline"`
16
ResponseStatusCode string `gorm:"index;default:200;not null" form:"response_status_code" json:"response_status_code" yaml:"response_status_code"`
17
ResponseHeaders database.MapField `form:"response_headers" json:"response_headers" yaml:"response_headers"`
18
- ResponseBody string `gorm:"default:Hello RevSuit!" form:"response_body" json:"response_body" yaml:"response_body"`
+ ResponseBody string `gorm:"type:longtext" form:"response_body" json:"response_body" yaml:"response_body"`
19
}
20
21
func (Rule) TableName() string {
0 commit comments