Repo Reorg

This commit is contained in:
Dustin Pianalto
2020-09-18 18:39:51 -08:00
parent a4b3fc5a21
commit fc0f1b0ed3
33 changed files with 489 additions and 352 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
package main
package goff
import "database/sql"
@@ -10,11 +10,11 @@ type Guild struct {
WelcomeChannel string
PuzzleChannel string
PuzzleRole sql.NullString
Prefixes []string
}
type GuildService interface {
Guild(id string) (*Guild, error)
Guilds() ([]*Guild, error)
CreateGuild(g *Guild) error
DeleteGuild(g *Guild) error
GuildUsers(g *Guild) ([]*User, error)