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

Top 9.0% on proxy.golang.org

proxy.golang.org : github.com/gomodular/is

Package is allows you to define struct fields which must differentiate between their zero value and them not being assigned. When building structs for JSON encoding/decoding, it's common to use pointers for fields that are optional. This pattern can make those structs annoying to use. For example: This package provides a generic type `is.Maybe[T]` to make it easier to work with optional fields. Here is the same example leveraging `is.Maybe[T]`:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/gomodular/is
License: MIT
Latest release: about 3 years ago
First release: about 3 years ago
Namespace: github.com/gomodular
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...