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

Method GetTitle

github/github-accessors.go:20346–20351  ·  view source on GitHub ↗

GetTitle returns the Title field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

20344
20345// GetTitle returns the Title field if it's non-nil, zero value otherwise.
20346func (k *Key) GetTitle() string {
20347 if k == nil || k.Title == nil {
20348 return ""
20349 }
20350 return *k.Title
20351}
20352
20353// GetURL returns the URL field if it's non-nil, zero value otherwise.
20354func (k *Key) GetURL() string {

Calls

no outgoing calls