fields

command
v0.0.0-...-b5e5bab Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2016 License: BSD-3-Clause, CC-BY-3.0 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