diff --git a/pkg/graph.go b/pkg/sdk/graph.go similarity index 98% rename from pkg/graph.go rename to pkg/sdk/graph.go index 9335997..854526d 100644 --- a/pkg/graph.go +++ b/pkg/sdk/graph.go @@ -1,4 +1,4 @@ -package pkg +package sdk import ( "context" @@ -6,7 +6,7 @@ import ( "git.dragse.it/anthrove/otter-space-sdk/pkg/models" ) -type Graph interface { +type OtterSpace interface { // Connect sets up a connection to the endpoint using the provided username and password Connect(ctx context.Context, endpoint string, username string, password string) error diff --git a/pkg/impl.go b/pkg/sdk/impl.go similarity index 98% rename from pkg/impl.go rename to pkg/sdk/impl.go index 07a4d24..f0b8976 100644 --- a/pkg/impl.go +++ b/pkg/sdk/impl.go @@ -1,4 +1,4 @@ -package pkg +package sdk import ( "context" @@ -14,7 +14,7 @@ type graphConnection struct { graphDebug bool } -func NewGraphConnection(graphDebug bool) Graph { +func NewGraphConnection(graphDebug bool) OtterSpace { return &graphConnection{ driver: nil, graphDebug: graphDebug,