refactor(correction to folder sturcture): before we got to deep resturctures to best pactice folder
This commit is contained in:
11
backend/internal/system/servers/servers.go
Normal file
11
backend/internal/system/servers/servers.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package servers
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func RegisterServersRoutes(l *gin.Engine, baseUrl string) {
|
||||
|
||||
s := l.Group(baseUrl + "/api/v1")
|
||||
s.GET("/servers", getServers)
|
||||
}
|
||||
Reference in New Issue
Block a user