sort imports on api generation

This commit is contained in:
kevin
2020-08-27 14:40:05 +08:00
parent 33208e6ef6
commit a987d12237
5 changed files with 17 additions and 23 deletions

View File

@@ -13,9 +13,7 @@ const (
configFile = "config.go"
configTemplate = `package config
import (
{{.authImport}}
)
import {{.authImport}}
type Config struct {
rest.RestConf