Documentation ¶
Overview ¶
Airtable database interaction
Index ¶
- func SlackUsersToString(users []SlackUser) string
- type DB
- func (db *DB) CreateSession(threadTs string, creator SlackUser, companions []SlackUser, costGP int, ...) (Session, error)
- func (db *DB) CreateStoryItem(session Session, itemType string, author *SlackUser, value string) error
- func (db *DB) GetSession(threadTs string) (Session, error)
- func (db *DB) MarkSessionPaidAndStarted(session Session, sessionID int) (Session, error)
- type Session
- type SlackUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SlackUsersToString ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CreateSession ¶
type SlackUser ¶
func SlackUserFromID ¶
func SlackUserFromString ¶
func SlackUsersFromIDs ¶
func SlackUsersFromString ¶
Click to show internal directories.
Click to hide internal directories.