inject icon indicating copy to clipboard operation
inject copied to clipboard

Use id to identify objects of the same type

Open silentred opened this issue 9 years ago • 0 comments

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.

silentred avatar Apr 24 '17 08:04 silentred