chore: update resource service folder

This commit is contained in:
Steven 2023-09-24 22:55:31 +08:00
parent 159dfc9446
commit e88327f2a3
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ import (
storepb "github.com/boojack/slash/proto/gen/store" storepb "github.com/boojack/slash/proto/gen/store"
"github.com/boojack/slash/server/profile" "github.com/boojack/slash/server/profile"
"github.com/boojack/slash/server/service/license" "github.com/boojack/slash/server/service/license"
"github.com/boojack/slash/server/service/resource"
"github.com/boojack/slash/store" "github.com/boojack/slash/store"
) )
@ -110,7 +111,7 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
} }
// Register resource service. // Register resource service.
resourceService := NewResourceService(profile, store) resourceService := resource.NewResourceService(profile, store)
resourceService.Register(rootGroup) resourceService.Register(rootGroup)
return s, nil return s, nil

View File

@ -1,4 +1,4 @@
package server package resource
import ( import (
"bytes" "bytes"