sql_executor.go 363 B

123456789101112
  1. package root
  2. import (
  3. "baize-demo/project/gateway/config"
  4. "git.sxidc.com/go-framework/baize/convenient/domain_gateway/sql_executor"
  5. "git.sxidc.com/go-framework/baize/framework/gateway"
  6. )
  7. func sqlExecutorGateway(gw *gateway.Gateway) {
  8. sql_executor.RegisterService("example", config.GetConfig().ServicesConfig.ExampleBaseUrl)
  9. sql_executor.BuildGateway(gw)
  10. }