Github user jeking3 commented on a diff in the pull request:
https://github.com/apache/thrift/pull/1507#discussion_r174810986
--- Diff: lib/go/test/dontexportrwtest/compile_test.go ---
@@ -29,10 +28,10 @@ import (
func TestReadWriteMethodsArePrivate(t *testing.T) {
// This will only compile if read/write methods exist
s := NewTestStruct()
- fmt.Sprintf("%v", s.read)
- fmt.Sprintf("%v", s.write)
+ _ = s.read
--- End diff --
Nice.. I had done everything else but I had no idea how to fix this in
golang. Thanks!
---