mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-17 20:41:00 +01:00
initial try
This commit is contained in:
11
app/db.go
11
app/db.go
@@ -60,6 +60,17 @@ type DbTag struct {
|
||||
Keys []string `json:"key"`
|
||||
}
|
||||
|
||||
// required for ui
|
||||
func (entry DbEntry) FilterValue() string {
|
||||
return entry.Preview
|
||||
}
|
||||
func (entry DbEntry) Description() string {
|
||||
return "Val: " + entry.Preview
|
||||
}
|
||||
func (entry DbEntry) Title() string {
|
||||
return "Key: " + entry.Key
|
||||
}
|
||||
|
||||
const BucketData string = "data"
|
||||
|
||||
func GetDbFile(file string) string {
|
||||
|
||||
Reference in New Issue
Block a user