fields
commandThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
This tool tests for the JSON mappings in the go-github data types. It willidentify fields that are returned by the live GitHub API, but that are notcurrently mapped into a struct field of the relevant go-github type. Thishelps to ensure that all relevant data returned by the API is being madeaccessible, particularly new fields that are periodically (and sometimesquietly) added to the API over time.
These tests simply aid in identifying which fields aren't being mapped; itis not necessarily true that every one of them should always be mapped.Some fields may be undocumented for a reason, either because they aren'tactually used yet or should not be relied upon.