Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/com: split into two packages #11

Open
progrium opened this issue Mar 26, 2017 · 0 comments
Open

pkg/com: split into two packages #11

progrium opened this issue Mar 26, 2017 · 0 comments

Comments

@progrium
Copy link
Contributor

While refactoring Cmd.io on paper, and to better decouple config and registration, a plan/API became clear to split com into two packages: pkgcfg and objreg.

Personal notes for later:

objreg.Registered
objreg.New()
  Register
  Unregister
  Select
  SelectWith
  All
  AllWith

pkgcfg.Provider
pkgcfg.Setting
pkgcfg.SetProvider
pkgcfg.GetString
pkgcfg.GetInt
pkgcfg.GetBool
pkgcfg.CallerDistance
pkgcfg.Namespace
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

No branches or pull requests

1 participant