Skip to content

feat(cli): replace untyped token Store with typed TokenStore#33

Merged
odsod merged 1 commit intomainfrom
odsod/push-vukroykpwvpr
Apr 10, 2026
Merged

feat(cli): replace untyped token Store with typed TokenStore#33
odsod merged 1 commit intomainfrom
odsod/push-vukroykpwvpr

Conversation

@odsod
Copy link
Copy Markdown
Member

@odsod odsod commented Apr 10, 2026

Summary

  • Add TokenStore interface (Load()/Save()/Clear()) for oauth2.Token
  • Add NewTokenFileStore constructor using existing generic fileStore[T]
  • Delete untyped Store interface, FileStore, and NewFileStore
  • All store interfaces are now typed: no more any parameters

Test plan

  • go build ./...
  • go test ./...

- Add `TokenStore` interface (`Load()/Save()/Clear()`) for `oauth2.Token`
- Add `NewTokenFileStore` constructor using existing generic `fileStore[T]`
- Delete untyped `Store` interface, `FileStore`, and `NewFileStore`
- All store interfaces are now typed: no more `any` parameters
@odsod odsod force-pushed the odsod/push-vukroykpwvpr branch from 9264698 to eda533e Compare April 10, 2026 08:39
@odsod odsod merged commit d42a202 into main Apr 10, 2026
1 check passed
@odsod odsod deleted the odsod/push-vukroykpwvpr branch April 10, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant