mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-14 06:40:56 +00:00
Previously, this call strconv.FormatInt with base 32, when the intention is to call it with base 10. Change-Id: I31cdd2415b3a80936cdcdeb5612a486204404ecb Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/331149 Trust: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Damien Neil <dneil@google.com>
21 lines
432 B
Protocol Buffer
21 lines
432 B
Protocol Buffer
// Copyright 2021 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
syntax = "proto2";
|
|
|
|
package goproto.proto.enums;
|
|
|
|
option go_package = "google.golang.org/protobuf/internal/testprotos/enums";
|
|
|
|
enum Enum {
|
|
DEFAULT = 1337;
|
|
ZERO = 0;
|
|
ONE = 1;
|
|
ELEVENT = 11;
|
|
SEVENTEEN = 17;
|
|
THIRTYSEVEN = 37;
|
|
SIXTYSEVEN = 67;
|
|
NEGATIVE = -1;
|
|
}
|