hmn/src/models/discord.go

16 lines
357 B
Go
Raw Normal View History

2021-06-22 09:50:40 +00:00
package models
import (
"time"
)
type DiscordMessage struct {
ID string `db:"id"`
ChannelID string `db:"channel_id"`
GuildID *string `db:"guild_id"`
Url string `db:"url"`
UserID string `db:"user_id"`
SentAt time.Time `db:"sent_at"`
SnippetCreated bool `db:"snippet_created"`
}