2019-06-03 09:32:43 +00:00
|
|
|
package arn
|
|
|
|
|
|
|
|
// GoogleToUser stores the user ID by Google user ID.
|
|
|
|
type GoogleToUser struct {
|
2019-09-07 10:56:13 +00:00
|
|
|
ID string `json:"id" primary:"true"`
|
2019-06-03 09:32:43 +00:00
|
|
|
UserID UserID `json:"userId"`
|
|
|
|
}
|
2019-09-07 11:09:55 +00:00
|
|
|
|
|
|
|
// GetID returns the ID.
|
|
|
|
func (mapping *GoogleToUser) GetID() string {
|
|
|
|
return mapping.ID
|
|
|
|
}
|