2024-05-07 08:58:18 +00:00
|
|
|
// Copyright 2024 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.
|
|
|
|
|
|
|
|
|
|
// Package editionssupport defines constants for editions that are supported.
|
|
|
|
|
package editionssupport
|
|
|
|
|
|
2024-10-08 12:21:33 +00:00
|
|
|
import "google.golang.org/protobuf/types/descriptorpb"
|
2024-05-07 08:58:18 +00:00
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
Minimum = descriptorpb.Edition_EDITION_PROTO2
|
|
|
|
|
Maximum = descriptorpb.Edition_EDITION_2023
|
2025-01-07 12:53:37 +00:00
|
|
|
|
|
|
|
|
// MaximumKnown is the maximum edition that is known to Go Protobuf, but not
|
|
|
|
|
// declared as supported. In other words: end users cannot use it, but
|
|
|
|
|
// testprotos inside Go Protobuf can.
|
|
|
|
|
MaximumKnown = descriptorpb.Edition_EDITION_2024
|
2024-05-07 08:58:18 +00:00
|
|
|
)
|