Gopkg
gopkg.inRank Trend
Ranking history over time.
About Gopkg
gopkg.in provides stable APIs for the Go programming language, allowing developers to use versioned URLs that redirect to well-defined GitHub repositories. This service encourages the adoption of stable versioned package APIs, improving code reliability as packages evolve.
Access stable APIs for the Go programming language with versioned URLs.
What You Can Do
- Use versioned URLs for Go packages
- Redirect to package documentation
- Handle Git branches and tags
- Encourage stable API adoption
- Access code directly from GitHub
Frequently Asked Questions
What is gopkg.in?
gopkg.in is a service that provides stable APIs for the Go language through versioned URLs that redirect to GitHub repositories.
How do I use gopkg.in for my Go packages?
You can use gopkg.in by importing packages with a versioned URL, such as 'gopkg.in/yaml.v1' for the yaml package.
Does gopkg.in host package code?
No, gopkg.in does not host package code; it redirects to the respective GitHub repository for the code.
What happens if my GitHub repository has no version tags?
Repositories without version tags or branches are considered unstable and default to version 'v0'.
Can I use gopkg.in for my own repositories?
Yes, user-owned repositories can be used with gopkg.in by following the supported URL patterns.