mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Fixed issue with host string and added internal url package
This commit is contained in:
parent
4444a1d299
commit
4597f63d12
7 changed files with 131 additions and 115 deletions
1
internal/cache/cache.go
vendored
1
internal/cache/cache.go
vendored
|
|
@ -4,6 +4,7 @@ import (
|
|||
"database/sql/driver"
|
||||
)
|
||||
|
||||
// TODO: implement extendable storage drivers using cache interface (sqlite, duckdb, etc.)
|
||||
type Cache[T any] interface {
|
||||
CreateIfNotExists(path string) (driver.Connector, error)
|
||||
Insert(path string, data ...T) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue