Browse Source

bug: fix

master
小黄 4 years ago
parent
commit
02a7de5eab
  1. 2
      servicegen/tpl.go
  2. 1
      servicegen/tpl/api_test.tpl

2
servicegen/tpl.go

@ -8,7 +8,7 @@ import (
var ( var (
apiTpl = CreateTpl("api.tpl") apiTpl = CreateTpl("api.tpl")
apiPreTpl = CreateTpl("api_task.tpl")
apiPreTpl = CreateTpl("api_pre.tpl")
apiTaskTpl = CreateTpl("api_task.tpl") apiTaskTpl = CreateTpl("api_task.tpl")
apiTestTpl = CreateTpl("api_test.tpl") apiTestTpl = CreateTpl("api_test.tpl")
dbModelTpl = CreateTpl("db_model.tpl") dbModelTpl = CreateTpl("db_model.tpl")

1
servicegen/tpl/api_test.tpl

@ -1,7 +1,6 @@
package hasaki_{{.app_name}} package hasaki_{{.app_name}}
import ( import (
"fmt"
"log" "log"
"testing" "testing"

Loading…
Cancel
Save