You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linter is correctly flagging this bit:
fmt.Fprintf(w, ExpectedMessage)
because it's a formatting function that doesn't appear to be formatting
anything (since there are not additional arguments after the formatting
string).
staticcheck has started flagging this import:
"github.com/golang/protobuf/proto"
because that package has been rewritten and published as
google.golang.org/protobuf. The new package is not a drop-in replacement
for the old one, even if the staticcheck diagnostic suggests otherwise.
Newer versions of the old package are actually implemented in terms of
the new one. For this code base in particular, some of the text
marshalling functions have disappeared in the new package and they need
to be implemented in terms of the new reflection package. Until an
adequate solution is found, simply ignore the error.
Closes: #281
Signed-off-by: Marcelo E. Magallon <[email protected]>
0 commit comments