Add docs link comment to Codespaces struct definition

This commit is contained in:
Charlie Andrews 2022-03-16 10:20:13 -04:00
parent 7ca31e02b4
commit 4eedfc05c1

View file

@ -167,6 +167,8 @@ func (a *API) GetRepository(ctx context.Context, nwo string) (*Repository, error
}
// Codespace represents a codespace.
// You can see more about the fields in this type in the codespaces api docs:
// https://docs.github.com/en/rest/reference/codespaces
type Codespace struct {
Name string `json:"name"`
CreatedAt string `json:"created_at"`