package oneofcheck
import "github.com/gogo/protobuf/plugin/oneofcheck"
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 ¶
Functions ¶
func NewPlugin ¶
func NewPlugin() *plugin
Source Files ¶
- Version
- v1.1.1
- Published
- Jul 17, 2018
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.