Documentation
¶
Index ¶
- type Client
- func (c *Client) AllDones() ([]Done, error)
- func (c *Client) CurrentUser() (User, error)
- func (c *Client) FilteredDones(df DoneFilter) ([]Done, error)
- func (c *Client) FollowData() ([]Follow, error)
- func (c *Client) LikeDone(d Done) error
- func (c *Client) PostDone(text string) (Done, error)
- func (c *Client) Tags() ([]Tag, error)
- func (c *Client) Team() (Team, error)
- func (c *Client) TeamMembers() ([]User, error)
- type Done
- type DoneFilter
- type Follow
- type Like
- type Tag
- type Team
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CurrentUser ¶
func (*Client) FilteredDones ¶
func (c *Client) FilteredDones(df DoneFilter) ([]Done, error)
func (*Client) FollowData ¶
func (*Client) TeamMembers ¶
type Done ¶
type Done struct { Id int `json:"id"` TeamShortName string `json:"team_short_name"` DoneDate string `json:"done_date"` Owner string `json:"owner"` Text string `json:"text"` MarkedupText string `json:"markedup_text"` Tags []Tag `json:"tags"` Comments []Done `json:"comments"` Likes []Like `json:"likes"` }
type DoneFilter ¶
func (DoneFilter) String ¶
func (df DoneFilter) String() string
type Follow ¶
type Follow struct { Id int `json:"id"` Follower string `json:"follower"` Followee string `json:"followee"` }
Follower and followee strings are the Usernames of the follower and followee
type User ¶
type User struct { Id int `json:"id"` TeamProfileId int `json:"team_profile_id"` Username string `json:"username"` FirstName string `json:"first_name"` LastName string `json:"last_name"` NicestName string `json:"nicest_name"` HasJoined bool `json:"has_joined"` IsStaff bool `json:"is_staff"` IsAdmin bool `json:"is_admin"` Email string `json:"email"` AvatarUrl string `json:"avatar_url"` AlternateEmails []string `json:"alternate_emails"` }
Click to show internal directories.
Click to hide internal directories.