Documentation ¶ Index ¶ type ApiGrade type Client func NewClient(apiUrl string, apiKey string) *Client func (c *Client) SendGrade(ctx context.Context, grade *ApiGrade) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ApiGrade ¶ type ApiGrade struct { Course string `json:"course"` Class string `json:"class"` Year uint32 `json:"year"` Name string `json:"name"` Mean float32 `json:"class_average"` } type Client ¶ type Client struct { BaseUrl string ApiKey string // contains filtered or unexported fields } func NewClient ¶ func NewClient(apiUrl string, apiKey string) *Client func (*Client) SendGrade ¶ func (c *Client) SendGrade(ctx context.Context, grade *ApiGrade) error Source Files ¶ View all Source files api.gosend-grade.gotypes.go Click to show internal directories. Click to hide internal directories.