Skip to content

issues Search Results · repo:codegangsta/inject language:Go

Filter by

15 results
 (73 ms)

15 results

incodegangsta/inject (press backspace or delete to remove)

x1.EventData = []interface{}{x1, []interface{}{portScan.TargetStr(task.ScanWeb)}} G_Engine.EventData - x1 ------------------------------ for _, i := range ed.EventData { in.Map(i) } v, err ...
  • hktalent
  • Opened 
    on Oct 3, 2022
  • #43

Is there any particular reason that it does not do this?
  • colonelpanic8
  • Opened 
    on Oct 22, 2015
  • #30

type Injector interface { Applicator Invoker TypeMapper // SetParent sets the parent of the injector. If the injector cannot find a // dependency in its Type map it will check its parent ...
  • win-t
  • 2
  • Opened 
    on Jul 12, 2015
  • #28

Hello, I ve read readme, but still I can t figure out how to use it and where it can be applied. Could anybody give some sort of helloworld example?)
  • timfayz
  • 4
  • Opened 
    on Feb 13, 2015
  • #26

injector using a map stored values, use type in the Get method to obtain value. If there is more value will be lost if the same type value, for example there are two Int64 value. I was a novice, I m not ...
  • lmliang
  • 1
  • Opened 
    on Aug 29, 2014
  • #22

my english is not good enough. in package reflect type rtype struct { size uintptr // size in bytes hash uint32 // hash of type; avoids computation in hash tables ...
  • achun
  • 1
  • Opened 
    on Jun 3, 2014
  • #19

Maps are not safe for concurrent use. page at: http://blog.golang.org/go-maps-in-action#TOC_6. inject support concurrent-safe?
  • achun
  • 2
  • Opened 
    on Jan 15, 2014
  • #12

Usage like this: package main import ( fmt github.com/codegangsta/inject ) type SliceInterface interface{} func Handler1(s string, si ...SliceInterface) { fmt.Println( Handler1 , s, ...
  • achun
  • 1
  • Opened 
    on Jan 15, 2014
  • #11

It would be very nice if inject could control the dependency construction process, rather than the developer needing to manually instantiate them in the correct order and Map() ing them in. This could ...
  • orospakr
  • 11
  • Opened 
    on Jan 6, 2014
  • #10

If the last argument to a method is a varargs, would it make sense to either not inject it, or only inject it if there s a registered type for it?
  • fionawhim
  • Opened 
    on Dec 28, 2013
  • #9
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! 
Press the
/
key to activate the search input again and adjust your query.
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! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub