Skip to content

Conversation

@silentred
Copy link

@silentred silentred commented Apr 24, 2017

The current way has 2 disadvantages:

  1. If there are 2 objects of the same type to be mapped into injector, the former one will be overwritten by the latter one.
  2. the tag format inject is not encouraged by go tool vet. A tag should have a value, which i think an ID would be an appropriate choice.

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