github.com/cosmos/cosmos-proto@v1.0.0-beta.3/features/protoc/genid/map_entry.go (about)

     1  // Copyright 2019 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 genid
     6  
     7  import protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     8  
     9  // Generic field names and numbers for synthetic map entry messages.
    10  const (
    11  	MapEntry_Key_field_name   protoreflect.Name = "key"
    12  	MapEntry_Value_field_name protoreflect.Name = "value"
    13  
    14  	MapEntry_Key_field_number   protoreflect.FieldNumber = 1
    15  	MapEntry_Value_field_number protoreflect.FieldNumber = 2
    16  )