MCPcopy Create free account
hub / github.com/cloudwan/gohan / getSubnetSingularURL

Function getSubnetSingularURL

server/server_test.go:1465–1468  ·  view source on GitHub ↗
(color string)

Source from the content-addressed store, hash-verified

1463}
1464
1465func getSubnetSingularURL(color string) string {
1466 s, _ := schema.GetManager().Schema("subnet")
1467 return baseURL + s.URL + "/subnet" + color
1468}
1469
1470func getSubnetFullSingularURL(networkColor, subnetColor string) string {
1471 return getSubnetFullPluralURL(networkColor) + "/subnet" + subnetColor

Callers 1

server_test.goFile · 0.85

Calls 1

SchemaMethod · 0.65

Tested by

no test coverage detected