split db and bolt to store interface

This commit is contained in:
ston1th 2018-09-11 14:50:53 +02:00
commit 7e77fd7d27
14 changed files with 419 additions and 545 deletions

View file

@ -6,6 +6,7 @@ import (
"crypto/subtle"
"encoding/base64"
"errors"
"git.giftfish.de/ston1th/gowiki/pkg/log"
"github.com/gorilla/mux"
"html/template"
"net/http"
@ -53,8 +54,6 @@ type webData struct {
Msg string
Search string
Editor *Editor
Data interface{}
}