Work on database revamp [WIP]

This commit is contained in:
Daniel 2018-09-04 17:09:32 +02:00
parent 307ddd70fd
commit efabb291d7
19 changed files with 1032 additions and 664 deletions

17
database/interface.go Normal file
View file

@ -0,0 +1,17 @@
package database
type Interface struct {
local bool
internal bool
}
func NewInterface(local bool, internal bool) *Interface {
return &Interface{
local: local,
internal: internal,
}
}
func (i *Interface) Get(string key) (model.Model, error) {
return nil, nil
}