mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-07 21:47:02 +09:00
22 lines
438 B
Go
22 lines
438 B
Go
package clientspace
|
|
|
|
import (
|
|
"context"
|
|
"github.com/anytypeio/go-anytype-infrastructure-experiments/common/commonspace"
|
|
)
|
|
|
|
func newClientSpace(cc commonspace.Space) (commonspace.Space, error) {
|
|
return &clientSpace{cc}, nil
|
|
}
|
|
|
|
type clientSpace struct {
|
|
commonspace.Space
|
|
}
|
|
|
|
func (s *clientSpace) Init(ctx context.Context) (err error) {
|
|
return s.Space.Init(ctx)
|
|
}
|
|
|
|
func (s *clientSpace) Close() (err error) {
|
|
return s.Space.Close()
|
|
}
|