feat: migrate workspace to api v1

This commit is contained in:
Steven
2023-06-20 17:06:22 +08:00
parent 74021134da
commit 96704162d8
7 changed files with 195 additions and 546 deletions

View File

@ -3,6 +3,7 @@ package v1
import (
"github.com/boojack/shortify/server/profile"
"github.com/boojack/shortify/store"
"github.com/labstack/echo/v4"
)
@ -21,4 +22,5 @@ func NewAPIV1Service(profile *profile.Profile, store *store.Store) *APIV1Service
func (s *APIV1Service) Start(apiV1Group *echo.Group, secret string) {
s.registerAuthRoutes(apiV1Group, secret)
s.registerUserRoutes(apiV1Group)
s.registerWorkspaceRoutes(apiV1Group)
}