Comments (6)
@mikekonan, I'm happy to announce that it's been finally implemented :)
Check out the examples:
type SingletonBean struct {
someOtherBeans []*string `di.inject:""`
}
type SingletonBean struct {
someOtherBeans map[string]*string `di.inject:""`
}
type SingletonBean struct {
someOtherBeans []io.Reader `di.inject:""`
}
type SingletonBean struct {
someOtherBeans map[string]io.Reader `di.inject:""`
}
from di.
Sorry, mate, I was in the progress of changing the job and had dramatically less time for my opensource initiatives
Perhaps it's something that could be interesting for @marniks7?
And, of course, you are more than welcome to make PRs of your own
from di.
Amazing, thanks a lot!
from di.
Good idea
from di.
Good idea
π I'll look into it.
What are your thoughts? Do you have time to implement it?
from di.
P.S. I did look into this and I see no problems with adding this functionality, it just needs time to be done :)
from di.
Related Issues (15)
- [Bug report]
- [Feature request] HOT 2
- Improve beans initialization HOT 2
- [Feature request] register&inject bean with named group HOT 6
- [Feature request] when the Prototype bean destroy? HOT 3
- Fail to inject dependencies HOT 5
- postconstruct does not support dependency, postconstruct executes random HOT 10
- Question regarding the implmentation of PostConstruct HOT 1
- Been Injection Not Working HOT 2
- [Feature request]Circular dependency HOT 1
- [Bug report] Can't get another bean instance from bean factory, despite of the docs HOT 5
- [Feature request] Add examples about how to use this library HOT 1
- replace ioutil.ReadAll with io.ReadAll in README HOT 1
- [Feature request] Bean lifecycle HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from di.