fix: renamed struct & restructured project
This commit is contained in:
parent
c3b672bd42
commit
3dee84c7ae
@ -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
|
||||
|
@ -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,
|
Reference in New Issue
Block a user