Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddReactionInput ¶
type AddReactionInput struct { // The Node ID of the subject to modify. (Required.) SubjectID ID `json:"subjectId"` // The name of the emoji to react with. (Required.) Content ReactionContent `json:"content"` // A unique identifier for the client performing the mutation. (Optional.) ClientMutationID *String `json:"clientMutationId,omitempty"` }
AddReactionInput is an autogenerated input type of AddReaction.
type Boolean ¶
type Boolean bool
Boolean represents true or false values.
func NewBoolean ¶
NewBoolean is a helper to make a new *Boolean.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type DateTime ¶
DateTime is an ISO-8601 encoded UTC date string.
func NewDateTime ¶
NewDateTime is a helper to make a new *DateTime.
type Float ¶
type Float float64
Float represents signed double-precision fractional values as specified by IEEE 754.
type GitObjectID ¶
type GitObjectID string // TODO: Confirm.
GitObjectID is a Git object ID.
func NewGitObjectID ¶
func NewGitObjectID(v GitObjectID) *GitObjectID
NewGitObjectID is a helper to make a new *GitObjectID.
type GitTimestamp ¶
GitTimestamp is an ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.
func NewGitTimestamp ¶
func NewGitTimestamp(v GitTimestamp) *GitTimestamp
NewGitTimestamp is a helper to make a new *GitTimestamp.
type ID ¶
type ID string
ID represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
type Int ¶
type Int int32
Int represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
type ReactionContent ¶
type ReactionContent string
ReactionContent represents emojis that can be attached to Issues, Pull Requests and Comments.
const ( ThumbsUp ReactionContent = "THUMBS_UP" // Represents the 👍 emoji. ThumbsDown ReactionContent = "THUMBS_DOWN" // Represents the 👎 emoji. Laugh ReactionContent = "LAUGH" // Represents the 😄 emoji. Hooray ReactionContent = "HOORAY" // Represents the 🎉 emoji. Confused ReactionContent = "CONFUSED" // Represents the 😕 emoji. Heart ReactionContent = "HEART" // Represents the ❤️ emoji. )
Emojis that can be attached to Issues, Pull Requests and Comments.
type RemoveReactionInput ¶
type RemoveReactionInput struct { // The Node ID of the subject to modify. (Required.) SubjectID ID `json:"subjectId"` // The name of the emoji to react with. (Required.) Content ReactionContent `json:"content"` // A unique identifier for the client performing the mutation. (Optional.) ClientMutationID *String `json:"clientMutationId,omitempty"` }
RemoveReactionInput is an autogenerated input type of RemoveReaction.
type String ¶
type String string
String represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.
type URI ¶
type URI string
URI is an RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
type X509Certificate ¶
type X509Certificate string
X509Certificate is a valid x509 certificate string.
func NewX509Certificate ¶
func NewX509Certificate(v X509Certificate) *X509Certificate
NewX509Certificate is a helper to make a new *X509Certificate.