Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BooleanValue ¶
type BooleanValue *bool
A BooleanValue is a boolean which may or may not be present.
func False ¶
func False() BooleanValue
False is the BooleanValue equivalent of the Go literal false.
type DoubleValue ¶
type DoubleValue *float64
A DoubleValue is a 64-bit floating point number which may or may not be present.
type FloatValue ¶
type FloatValue *float32
A FloatValue is a 32-bit floating point number which may or may not be present.
type IntegerValue ¶
type IntegerValue *int
An IntegerValue is an integer which may or may not be present.
type LongValue ¶
type LongValue *int64
A LongValue is a 64-bit integer which may or may not be present.
type StringValue ¶
type StringValue *string
A StringValue is a string which may or may not be present.
type Stringable ¶
type Stringable interface {
String() string
}
type Timestamp ¶
Timestamp represents a time that can be unmarshalled from a JSON string formatted as either an RFC3339 or Unix timestamp. This is necessary for some fields since the GitHub API is inconsistent in how it represents times. All exported methods of time.Time can be called on Timestamp.
func (*Timestamp) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface. Time is expected in RFC3339 or Unix format.