mirror of
https://github.com/safing/portbase
synced 2025-09-09 22:05:49 +00:00
Move DB record maintenance to storage interface
This commit is contained in:
parent
4eb21405cc
commit
bea130d755
16 changed files with 385 additions and 224 deletions
|
@ -16,7 +16,10 @@ type Example struct {
|
|||
}
|
||||
|
||||
var (
|
||||
exampleDB = NewInterface(nil)
|
||||
exampleDB = NewInterface(&Options{
|
||||
Internal: true,
|
||||
Local: true,
|
||||
})
|
||||
)
|
||||
|
||||
// GetExample gets an Example from the database.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue