13 lines
262 B
Go
Raw Normal View History

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