fields

command
v66.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

This tool tests for the JSON mappings in the go-github data types. It will identify fields that are returned by the live GitHub API, but that are not currently mapped into a struct field of the relevant go-github type. This helps to ensure that all relevant data returned by the API is being made accessible, particularly new fields that are periodically (and sometimes quietly) added to the API over time.

These tests simply aid in identifying which fields aren't being mapped; it is not necessarily true that every one of them should always be mapped. Some fields may be undocumented for a reason, either because they aren't actually used yet or should not be relied upon.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL