1 // Copyright 2024 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4 5 // Package editionssupport defines constants for editions that are supported.
6 package editionssupport
7 8 import "google.golang.org/protobuf/types/descriptorpb"
9 10 const (
11 Minimum = descriptorpb.Edition_EDITION_PROTO2
12 Maximum = descriptorpb.Edition_EDITION_2024
13 14 // MaximumKnown is the maximum edition that is known to Go Protobuf, but not
15 // declared as supported. In other words: end users cannot use it, but
16 // testprotos inside Go Protobuf can.
17 MaximumKnown = descriptorpb.Edition_EDITION_2024
18 )
19