init_test.go 366 B

12345678910111213
  1. package ams_ast
  2. import (
  3. "testing"
  4. )
  5. // 测试根路径
  6. func TestRoot(t *testing.T) {
  7. t.Logf("go服务 服务根路由 入口文件地址:%s", ServerRootRouterEnterFile())
  8. t.Logf("go服务 子路由 入口文件地址:%s", ServerSubRouterEnterFile("biz"))
  9. t.Logf("go服务 子路由 注册文件地址:%s", ServerSubRouterRegisterFile("biz", "HelloWorld"))
  10. }