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:
Lucas 2025-09-18 05:28:48 +02:00
parent 6b19a85471
commit b1fdb363ff
No known key found for this signature in database

View file

@ -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 {