An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.6% on proxy.golang.org
Top 4.2% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/mileusna/conditional

Package conditinal is go/golang replacement for ternary if/else operator Many languages have ternary operator which makes it easy and short to assign value inline, for example Unfortunately, Go doesn't have ternary operator so the shortest way to write this code in Go would be or if you prefere perhapse more readable but longer version This is where conditional package steps in. It provides fuctions that replaces ternary operator for each basic type in Go Example:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mileusna/conditional
Keywords: condition , conditional , conditional-statements , conditions , go , golang , ifelse , ternary
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/mileusna
Dependent packages: 2
Dependent repositories: 1
Stars: 8 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago

Top 8.2% on proxy.golang.org
github.com/beckend/go-config v1.1.6
Package config parsed toml files in specific order to generate a validated struct
11 versions - Latest release: almost 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/jamiemansfield/lmcemu v0.0.0-20210426160905-9fd96d652e66
An emulator for Little Man Computer, written in Golang.
1 version - Latest release: about 4 years ago - 0 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.