We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8d4dc commit cc5a59bCopy full SHA for cc5a59b
codegen/tml/dao/template_dao.go
@@ -93,7 +93,7 @@ func NewApi() error {
93
return nil
94
}
95
96
-func UpdateAPI(ac *config.AppConfig) {
+func UpdateAppConfig(ac *config.AppConfig) {
97
98
}`
99
codegen/tml/mainfile/template_main.go
@@ -34,7 +34,7 @@ func main() {
34
//this is a notice callback every time appconfig changes
35
//this function works in sync mode
36
//don't write block logic inside this
37
- dao.UpdateAPI(ac)
+ dao.UpdateAppConfig(ac)
38
xcrpc.UpdateHandlerTimeout(ac.HandlerTimeout)
39
xgrpc.UpdateHandlerTimeout(ac.HandlerTimeout)
40
xweb.UpdateHandlerTimeout(ac.HandlerTimeout)
0 commit comments