Added arn to the main repository
This commit is contained in:
11
arn/HasID.go
Normal file
11
arn/HasID.go
Normal file
@ -0,0 +1,11 @@
|
||||
package arn
|
||||
|
||||
// hasID includes an object ID.
|
||||
type hasID struct {
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
// GetID returns the ID.
|
||||
func (obj *hasID) GetID() string {
|
||||
return obj.ID
|
||||
}
|
Reference in New Issue
Block a user