12 lines
175 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
package arn
// hasID includes an object ID.
type hasID struct {
2019-11-18 05:01:13 +00:00
ID ID `json:"id" primary:"true"`
2019-06-03 09:32:43 +00:00
}
// GetID returns the ID.
2019-11-18 05:01:13 +00:00
func (obj *hasID) GetID() ID {
2019-06-03 09:32:43 +00:00
return obj.ID
}