enumstringer - ActiveState ActiveGo 1.8
...

Package enumstringer

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

Overview ▾

The enumstringer (experimental) plugin generates a String method for each enum.

It is enabled by the following extensions:

- enum_stringer
- enum_stringer_all

This package is subject to change.

func NewEnumStringer

func NewEnumStringer() *enumstringer