diff options
Diffstat (limited to 'populatePackagePB.go')
| -rw-r--r-- | populatePackagePB.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/populatePackagePB.go b/populatePackagePB.go index 1d9b900..ad39069 100644 --- a/populatePackagePB.go +++ b/populatePackagePB.go @@ -7,7 +7,7 @@ import ( "go.wit.com/lib/config" ) -func setString(pb proto.Message, varname string, varvalue string) (bool, error) { +func SetString(pb proto.Message, varname string, varvalue string) (bool, error) { msg := pb.ProtoReflect() // This is the entry point to the reflection API. descriptor := msg.Descriptor() // Get the message's descriptor, which contains metadata about its fields. |
