package
0.0.0-20220719023015-af14b6af71e5
Repository: https://github.com/wangyysde/sysadmserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Group routes

This example shows how to group different routes in their own files and group them together in a orderly manner like this:

func getRoutes() {
	v1 := router.Group("/v1")
	addUserRoutes(v1)
	addPingRoutes(v1)

	v2 := router.Group("/v2")
	addPingRoutes(v2)
}