This repository has been archived on 2019-11-22. You can view files and clone it, but cannot push or open issues or pull requests.
aocbot/aoc_structs.go

19 lines
392 B
Go

package main
import "time"
type Leaderboard struct {
OwnerID string `json:"owner_id"`
Event string `json:"event"`
Members map[string]Member `json:"members"`
}
type Member struct {
ID string `json:"id"`
Stars int `json:"stars"`
RawStarTs string `json:"last_star_ts"`
LastStarTs time.Time
Name string `json:"name"`
SlackID string
}