fmt
This commit is contained in:
parent
1d71729a7c
commit
e4d1fef8fe
4
main.go
4
main.go
@ -48,7 +48,7 @@ func main() {
|
||||
debug = false
|
||||
all = false
|
||||
singlePackageMode = false
|
||||
fileMode = false
|
||||
fileMode = false
|
||||
)
|
||||
if parameter := g.Request.GetParameter(); parameter != "" {
|
||||
for _, param := range strings.Split(parameter, ",") {
|
||||
@ -135,7 +135,7 @@ func main() {
|
||||
}
|
||||
|
||||
if fileMode {
|
||||
if s := file.GetService(); s != nil && len(s) > 0{
|
||||
if s := file.GetService(); s != nil && len(s) > 0 {
|
||||
encoder := NewGenericTemplateBasedEncoder(templateDir, file, debug, destinationDir)
|
||||
for _, tmpl := range encoder.Files() {
|
||||
concatOrAppend(tmpl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user