mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 14:01:24 +00:00
chore: update resource service folder
This commit is contained in:
parent
159dfc9446
commit
e88327f2a3
@ -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"
|
Loading…
x
Reference in New Issue
Block a user