Help us shape the future of Go! Take the 2026 Go Developer Survey

oneofcheck

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

The oneofcheck plugin is used to check whether oneof is not used incorrectly. For instance: An error is caused if a oneof field:

  • is used in a face
  • is an embedded field

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