From ea289e9518ba4ed462837762e6be5983e29fcbaf Mon Sep 17 00:00:00 2001 From: Thibault bui Koechlin Date: Wed, 20 May 2020 13:48:21 +0200 Subject: [PATCH] don't trash this function as it's used by plguins --- plugins/backend/sqlite.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/backend/sqlite.go b/plugins/backend/sqlite.go index 0af1343eb..db711aeec 100644 --- a/plugins/backend/sqlite.go +++ b/plugins/backend/sqlite.go @@ -65,5 +65,9 @@ func (p *pluginDB) ReadAT(timeAT time.Time) ([]map[string]string, error) { return ret, nil } +func New() interface{} { + return &pluginDB{} +} + // empty main function is mandatory since we are in a main package func main() {}