Merge remote-tracking branch 'origin/master'

This commit is contained in:
YouROK
2021-05-08 21:55:40 +03:00
5 changed files with 6 additions and 11 deletions

View File

@@ -4,8 +4,9 @@ import (
"path/filepath"
"strings"
bolt "go.etcd.io/bbolt"
"server/log"
bolt "go.etcd.io/bbolt"
)
type TDB struct {
@@ -99,7 +100,6 @@ func (v *TDB) Set(xpath, name string, value []byte) {
log.TLogln("value:", value)
}
return
}
func (v *TDB) List(xpath string) []string {
@@ -173,5 +173,4 @@ func (v *TDB) Rem(xpath, name string) {
log.TLogln("Error rem sets", xpath+"/"+name, ", error:", err)
}
return
}