Sfoglia il codice sorgente

don't trash this function as it's used by plguins

Thibault bui Koechlin 5 anni fa
parent
commit
ea289e9518
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      plugins/backend/sqlite.go

+ 4 - 0
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() {}