oneofcheck - ActiveState ActiveGo 1.8
...

Package oneofcheck

import "github.com/gogo/protobuf/plugin/oneofcheck"
Overview
Index

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 ▾

Package files

oneofcheck.go

func NewPlugin

func NewPlugin() *plugin