13 lines
262 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
package arn
// GoogleToUser stores the user ID by Google user ID.
type GoogleToUser struct {
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
}