MCPcopy Create free account
hub / github.com/DataDog/jsonapi / ArticleIntIDID

Struct ArticleIntIDID

jsonapi_test.go:392–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392type ArticleIntIDID struct {
393 ID IntID `jsonapi:"primary,articles"`
394 Title string `jsonapi:"attribute" json:"title"`
395}
396
397func (a *ArticleIntIDID) UnmarshalID(id string) error {
398 v, err := strconv.Atoi(id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected