refactor(10.2-01): nest framework packages under modules
- Move remaining beach packages and embedded admin assets\n- Rewrite framework, example, build, and gate paths
This commit is contained in:
13
modules/cabana/export_test.go
Normal file
13
modules/cabana/export_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package cabana
|
||||
|
||||
// AdminAPIRoutes exposes the admin API route inventory (method plus
|
||||
// prefix-relative path) to the external conformance test.
|
||||
func AdminAPIRoutes() []string {
|
||||
out := make([]string, 0, len(phase09Routes))
|
||||
for _, route := range phase09Routes {
|
||||
if !route.spa {
|
||||
out = append(out, route.key)
|
||||
}
|
||||
}
|
||||
return out
|
||||
}
|
||||
Reference in New Issue
Block a user