SetCurrentUserID saves the current user ID
(userID string)
| 233 | |
| 234 | // SetCurrentUserID saves the current user ID |
| 235 | func (d DotRill) SetUserID(userID string) error { |
| 236 | return d.Set(StateFilename, UserIDStateKey, userID) |
| 237 | } |
| 238 | |
| 239 | // GetUserCheckHash gets the hash used to determine whether to re-fetch the user ID. |
| 240 | func (d DotRill) GetUserCheckHash() (string, error) { |