GetCurrentUserID gets the current user ID
()
| 228 | |
| 229 | // GetCurrentUserID gets the current user ID |
| 230 | func (d DotRill) GetUserID() (string, error) { |
| 231 | return d.Get(StateFilename, UserIDStateKey) |
| 232 | } |
| 233 | |
| 234 | // SetCurrentUserID saves the current user ID |
| 235 | func (d DotRill) SetUserID(userID string) error { |