Documentation ¶ Index ¶ func Index(db *bolthold.Store) fir.RouteFunc type Tweet Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Index ¶ func Index(db *bolthold.Store) fir.RouteFunc Types ¶ type Tweet ¶ type Tweet struct { ID uint64 `json:"id" boltholdKey:"ID"` Username string `json:"username"` Body string `json:"body"` LikesCount int `json:"likes_count"` RepostCount int `json:"repost_count"` CreatedAt time.Time `json:"created_at"` } Source Files ¶ View all Source files index.go Click to show internal directories. Click to hide internal directories.