MCPcopy Index your code
hub / github.com/google/go-github / GetEvent

Method GetEvent

github/github-accessors.go:40258–40263  ·  view source on GitHub ↗

GetEvent returns the Event field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

40256
40257// GetEvent returns the Event field if it's non-nil, zero value otherwise.
40258func (t *Timeline) GetEvent() string {
40259 if t == nil || t.Event == nil {
40260 return ""
40261 }
40262 return *t.Event
40263}
40264
40265// GetID returns the ID field if it's non-nil, zero value otherwise.
40266func (t *Timeline) GetID() int64 {

Callers 3

TestTimeline_GetEventFunction · 0.95
TestIssueEventsFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestTimeline_GetEventFunction · 0.76
TestIssueEventsFunction · 0.36