12 lines
183 B
Go
Raw Normal View History

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