package
0.0.0-20240702075708-0be5f3d058c4
Repository: https://github.com/milosgajdos/orbnet.git
Documentation: pkg.go.dev

# Functions

FormatLimitOffset returns a SQL string for a given limit & offset.
NewDB returns a new instance of DB associated with the given datasource name.
NewEdgeService creates an instance of EdgeService and returns it.
NewGraphService creates an instance of GraphService and returns it.
NewNodeService creates an instance of NodeService and returns it.
No description provided by the author

# Constants

MemoryDSN is the in-memory data source name.
Migrations is the file path glob for migrations.
Scehem is required sqlite scheme.

# Structs

DB represents the database connection.
EdgeService lets you manage edges.
GraphService lets you manage graphs.
NodeService lets you manage graphs.
Tx wraps the SQL Tx object to provide a timestamp at the start of the transaction.

# Type aliases

NullTime represents a helper wrapper for time.Time.