Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoList ¶
type TodoList struct { // Discord username UserID discord.UserID `json:"id"` // Set of TODO questions. Questions []byte }
Each TODO list is bind to a discord user since
type UserLeetcodeInfo ¶
type UserLeetcodeInfo struct { // Discord username UserID discord.UserID `json:"id"` // Discord user discriminator Discriminator string // Leetcode username LeetcodeUsername string // Set of completed questions // We will encode them in custom bitmap since it's complication to use dynamodb's set in Golang // https://github.com/aws/aws-sdk-go/issues/1990#issuecomment-614087254 CompletedQuestions []byte }
Click to show internal directories.
Click to hide internal directories.