You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginx-ui/server/pkg/nginx/format_code.go

11 lines
191 B
Go

package nginx
import (
"github.com/tufanbarisyildirim/gonginx"
)
func (c *NgxConfig) FmtCode() (fmtContent string) {
fmtContent = gonginx.DumpConfig(c.c, gonginx.IndentedStyle)
return
}