mirror of
https://github.com/aykhans/slash-e.git
synced 2025-09-05 16:54:18 +00:00
chore: update resource service folder
This commit is contained in:
@@ -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
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
package server
|
package resource
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
Reference in New Issue
Block a user