From c56020e6ad9f46856b3ad607e4c185f7e58e8228 Mon Sep 17 00:00:00 2001 From: Fraser Isbester Date: Fri, 8 Sep 2023 17:03:11 -0700 Subject: [PATCH] add go_package to protos where it's missing --- proto/google/fhir/proto/fhirpath_replacement_list.proto | 2 ++ proto/google/fhir/proto/profile_config.proto | 1 + proto/google/fhir/proto/protogenerator_annotations.proto | 1 + 3 files changed, 4 insertions(+) diff --git a/proto/google/fhir/proto/fhirpath_replacement_list.proto b/proto/google/fhir/proto/fhirpath_replacement_list.proto index cb98c5bc05..d127a79dd1 100644 --- a/proto/google/fhir/proto/fhirpath_replacement_list.proto +++ b/proto/google/fhir/proto/fhirpath_replacement_list.proto @@ -16,6 +16,8 @@ syntax = "proto3"; package google.fhir.proto; +option go_package = "github.com/google/fhir/go/proto/google/fhir/proto"; + // Defines a list of fhir path expressions to be replaced. message FHIRPathReplacementList { repeated Replacement replacement = 1; diff --git a/proto/google/fhir/proto/profile_config.proto b/proto/google/fhir/proto/profile_config.proto index c773cd461c..0d2dc6dfa9 100644 --- a/proto/google/fhir/proto/profile_config.proto +++ b/proto/google/fhir/proto/profile_config.proto @@ -22,6 +22,7 @@ import "proto/google/fhir/proto/r4/core/datatypes.proto"; option java_package = "com.google.fhir.proto"; option java_multiple_files = true; +option go_package = "github.com/google/fhir/go/proto/google/fhir/proto"; // Config containing all info needed to generate the core protos for a FHIR // version (e.g., R4, R5). diff --git a/proto/google/fhir/proto/protogenerator_annotations.proto b/proto/google/fhir/proto/protogenerator_annotations.proto index b045b020ad..2e68a473d4 100644 --- a/proto/google/fhir/proto/protogenerator_annotations.proto +++ b/proto/google/fhir/proto/protogenerator_annotations.proto @@ -20,6 +20,7 @@ import "google/protobuf/descriptor.proto"; option java_outer_classname = "ProtoGeneratorAnnotations"; option java_package = "com.google.fhir.proto"; +option go_package = "github.com/google/fhir/go/proto/google/fhir/proto"; // This file defines extensions to FieldOptions and MessageOptions for use by // the ProtoFilePrinter to give directives to as to how things should be