feat(gist): add RawURL and Truncated fields to GistFile
* Added `RawURL` to store the raw URL of the gist file. * Added `Truncated` to indicate if the content is truncated.
This commit is contained in:
parent
6b19a85471
commit
b1fdb363ff
1 changed files with 6 additions and 4 deletions
|
|
@ -19,10 +19,12 @@ import (
|
|||
)
|
||||
|
||||
type GistFile struct {
|
||||
Filename string `json:"filename,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Language string `json:"language,omitempty"`
|
||||
Content string `json:"content"`
|
||||
Filename string `json:"filename,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Language string `json:"language,omitempty"`
|
||||
Content string `json:"content"`
|
||||
RawURL string `json:"raw_url,omitempty"`
|
||||
Truncated bool `json:"truncated,omitempty"`
|
||||
}
|
||||
|
||||
type GistOwner struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue