add server dao

This commit is contained in:
Jay
2019-09-29 14:46:01 +00:00
parent 290f5ce85b
commit 4da803d57c
5 changed files with 69 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
package discord
import (
dsmodel "dorisbot/database/models/discord"
)
// ServerDAO -
type ServerDAO interface {
Create(s *dsmodel.Server) error
Delete(id string) error
}