Skip to content

issues Search Results · repo:golobby/container language:Go

Filter by

20 results
 (96 ms)

20 results

ingolobby/container (press backspace or delete to remove)

Description Singleton resolvers that return error during resolution should not cache the concrete instance Steps to Reproduce Given the following Go struct type Foo struct { Value string } func ...
  • wbreza
  • Opened 
    on Feb 13, 2024
  • #57

Is there a way to resolve multiple items by its common interface? Example: IPlugin abstract PluginA concrete PluginB concrete register both plugins by IPlugin resolve []IPlugin where both plugins will ...
  • MrVermond
  • Opened 
    on Nov 17, 2023
  • #55

We have some bindings of named implementations: container.NamedSingleton( square , func() Shape { return Rectangle{} }) container.NamedSingleton( rounded , func() Shape { return Circle{} }) ...
  • rugleb
  • 1
  • Opened 
    on Aug 30, 2023
  • #53

It will be nice to be able to register and access container bindings asynchronously (e.g. registration of some new binding during application run while some another parts of app resolves existent bindings). ...
  • iradmt
  • Opened 
    on Jun 13, 2023
  • #52

A feature that would be extremely useful would be extremely useful would be to support the creation of child or cloned containers. A child container is more complex, being an empty container with a reference ...
  • GrantOllis
  • Opened 
    on Mar 9, 2023
  • #49

I just installed the package and gave it a go. I was following the README code examples, but I got some type errors. Installation: $ go get github.com/golobby/container/v3 go.sum: github.com/golobby/container ...
  • Pavel-Durov
  • 4
  • Opened 
    on Nov 21, 2022
  • #47

I just installed the package and gave it a go. I was following the README code examples, but I got some type errors. Installation: $ go get github.com/golobby/container/v3 My code following README example: ...
  • Pavel-Durov
  • Opened 
    on Nov 21, 2022
  • #46

not work if i add go.work file with inner dependencies
  • KNurlan2009
  • 1
  • Opened 
    on Sep 6, 2022
  • #45

I am using golobby/container/v3 : type Database interface { } type DatabaseImpl struct { MySql interface{} PgSql interface{} } container.Singleton(func() Database { return DatabaseImpl ...
  • YogiPristiawan
  • 2
  • Opened 
    on May 28, 2022
  • #43

i ve added some example code below and i ve found that the singleton is created twice. c := container.New() c.Singleton(func() (ExampleService, error) { fmt.Println( singleton created ) return CreateExampleService() ...
bug
  • Place1
  • 2
  • Opened 
    on Apr 7, 2022
  • #37
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub