protoget

package module
v0.0.0-...-429f11f Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: MIT Imports: 11 Imported by: 0

README

protoget

Checks for direct field access on proto messages and auto fixes them with nil safe accesor methods like GetField()

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:             "protoget",
	Doc:              "Checks for any directly accesed fields on proto message",
	Run:              run,
	RunDespiteErrors: true,
	Requires:         []*analysis.Analyzer{inspect.Analyzer},
}

Analyzer checks that all proto message fields are accessed using generated getters only.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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