Improved API privacy

This commit is contained in:
2019-09-07 20:09:55 +09:00
parent 4e6aa5eef6
commit cc1c394002
6 changed files with 25 additions and 1 deletions

View File

@ -5,3 +5,8 @@ type GoogleToUser struct {
ID string `json:"id" primary:"true"`
UserID UserID `json:"userId"`
}
// GetID returns the ID.
func (mapping *GoogleToUser) GetID() string {
return mapping.ID
}