fix: renamed struct & restructured project

This commit is contained in:
SoXX 2024-02-16 21:57:54 +01:00
parent c3b672bd42
commit 3dee84c7ae
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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,