diff --git a/github/users_keys.go b/github/users_keys.go index 6a663f5..e4c255f 100644 --- a/github/users_keys.go +++ b/github/users_keys.go @@ -9,10 +9,11 @@ import "fmt" // Key represents a public SSH key used to authenticate a user or deploy script. type Key struct { - ID *int `json:"id,omitempty"` - Key *string `json:"key,omitempty"` - URL *string `json:"url,omitempty"` - Title *string `json:"title,omitempty"` + ID *int `json:"id,omitempty"` + Key *string `json:"key,omitempty"` + URL *string `json:"url,omitempty"` + Title *string `json:"title,omitempty"` + ReadOnly *bool `json:"read_only,omitempty"` } func (k Key) String() string {