chore: go mod tidy

This commit is contained in:
Jacky 2024-12-14 16:55:21 +08:00
parent 3b8572c55e
commit 63df5d9804
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
3 changed files with 20 additions and 338 deletions

View file

@ -42,7 +42,7 @@ func TokenizeNginxConfig(c *gin.Context) {
func FormatNginxConfig(c *gin.Context) {
var json struct {
Content string `json:"content" binding:"required"`
Content string `json:"content"`
}
if !cosy.BindAndValid(c, &json) {