protoc-gen-go uses deprecated libraries

107 views
Skip to first unread message

bsr

unread,
Oct 19, 2020, 11:53:09 AM10/19/20
to golang-nuts

Hello,

I am coming back to a project after few months, and there has been changes to the protobuf libraries. I read the blog post, and docs followed the instructions to install and use the library. Please see the below header of the generated code.
I uses the latest library version, but it still include older versions. I was expecting


```
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// source: v1/beat/xyz/test.proto

package xyz

import (
reflect "reflect"
sync "sync"
)

```
Reply all
Reply to author
Forward
0 new messages