Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
codegangsta
/
inject
Public
Notifications
You must be signed in to change notification settings
Fork
146
Star
976
Code
Issues
7
Pull requests
8
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Panic on ambiguous implementations
- #37
#37
Open
jvictorchen
wants to merge 8 commits into
codegangsta:master
codegangsta/inject:master
from
uber-common:master
uber-common/inject:master
Copy head branch name to clipboard
Conversation
Commits
8
(8)
Checks
Files changed
Open
Panic on ambiguous implementations
#37
jvictorchen
wants to merge 8 commits into
codegangsta:master
codegangsta/inject:master
from
uber-common:master
uber-common/inject:master
Copy head branch name to clipboard
Commits
Commits on Feb 22, 2017
Return error if multiple implementations are present for one interface
jvictorchen
committed
039a6c6
View commit details
Copy full SHA for 039a6c6
Browse repository at this point
Revert the renaming of i to inj, and add a sentence to describe the change of Get method
jvictorchen
committed
52c3f2b
View commit details
Copy full SHA for 52c3f2b
Browse repository at this point
Revert the Get method signature change, use a configurable option to decide whether to panic on ambiguous implmementations
jvictorchen
committed
14cee34
View commit details
Copy full SHA for 14cee34
Browse repository at this point
Simplify code
jvictorchen
committed
3f68476
View commit details
Copy full SHA for 3f68476
Browse repository at this point
Add more docs for PanicOnAmbiguity
jvictorchen
committed
ef3e0a8
View commit details
Copy full SHA for ef3e0a8
Browse repository at this point
Merge pull request #1 from uber-common/return-error-for-ambiguous-impl
Show description for bc28001
jvictorchen
authored
bc28001
View commit details
Copy full SHA for bc28001
Browse repository at this point
Update readme (#2)
Show description for 8eeec5b
jvictorchen
authored
8eeec5b
View commit details
Copy full SHA for 8eeec5b
Browse repository at this point
Commits on Mar 3, 2017
Print out more info when panic (#3)
Show description for 78dabaf
jvictorchen
authored
78dabaf
View commit details
Copy full SHA for 78dabaf
Browse repository at this point
You can’t perform that action at this time.