wip: implementing db initialization

This commit is contained in:
Alexander Navarro 2024-11-13 19:55:02 +00:00
parent ffd3c2014e
commit 89d7b8130a
18 changed files with 745 additions and 0 deletions

14
pkg/relationship.go Normal file
View file

@ -0,0 +1,14 @@
package synchronizator
type RelationshipClass interface {
ToRelationship() (string, []byte, error)
FromRelationship(string, []byte) error
}
type Relationship struct {
_conn *db
_class string
From int64
To int64
Metadata []byte
}