Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

There should be a Get function to get dependency. #19

Open
tom10271 opened this issue Jun 15, 2018 · 2 comments
Open

There should be a Get function to get dependency. #19

tom10271 opened this issue Jun 15, 2018 · 2 comments

Comments

@tom10271
Copy link

tom10271 commented Jun 15, 2018

dbConn := graph.Get(xorm.Engine)
dbConn := graph.Get(`DB 1`)
dbConn := xorm.Engine{}
graph.Get(&dbConn)
@emanuel-v-r
Copy link

I have created this pull request #21 that addresses this issue

@emanuel-v-r
Copy link

emanuel-v-r commented Jul 9, 2018

Created this repo https://github.com/imaramos/goject with the purpose of extend this libary due to the lack of maintainance, it has the Resolve method that should address your issue. This is the only feature added, the rest is only renaming, hope another developers could contribute for it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants