embedcheck

package
v1.2.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: BSD-3-Clause, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

The embedcheck plugin is used to check whether embed is not used incorrectly. For instance: An embedded message has a generated string method, but the is a member of a message which does not. This causes a warning. An error is caused by a namespace conflict.

It is enabled by the following extensions:

  • embed
  • embed_all

For incorrect usage of embed with tests see:

github.com/gogo/protobuf/test/embedconflict

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin() *plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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