Ecosyste.ms: Packages

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

Top 8.5% on proxy.golang.org

proxy.golang.org : go.abhg.dev/requiredfield

Package requiredfield implements a linter that checks for required fields during struct initialization. Fields can be marked as required by adding a comment in the form "// required" next to the field, optionally followed by a description. For example: The analyzer will report an error when an instance of the struct is initialized without setting one or more of the required fields explicitly. For example: The explicit value can be the zero value of the field type, but it must be set explicitly.

Registry - Source - Documentation - JSON
purl: pkg:golang/go.abhg.dev/requiredfield
Keywords: golang, lint
License: BSD-3-Clause
Latest release: 11 months ago
First release: about 1 year ago
Namespace: go.abhg.dev
Stars: 11 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...