initial database crud

This commit is contained in:
Dustin Pianalto
2021-01-23 01:25:06 -09:00
parent 4188343429
commit e2f97afa6d
18 changed files with 924 additions and 73 deletions
+5 -5
View File
@@ -9,9 +9,9 @@ type Channel struct {
}
type ChannelService interface {
Channel(id string) (*Channel, error)
CreateChannel(c *Channel) (*Channel, error)
DeleteChannel(c *Channel) error
GuildChannels(g *Guild) ([]*Channel, error)
UpdateChannel(c *Channel) (*Channel, error)
Channel(id string) (Channel, error)
CreateChannel(c Channel) (Channel, error)
DeleteChannel(c Channel) error
GuildChannels(g Guild) ([]Channel, error)
UpdateChannel(c Channel) (Channel, error)
}