diff --git a/README.md b/README.md index 9a168a28..eb11ba87 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,9 @@ For other languages, there are third-party generators available: | Language | Clients | Servers | Repository | |----------------|---------|---------|------------| +| **Go** | ✓ | ✓ | Official support +| **Python** | ✓ | | Official support [(partial)](https://github.com/twitchtv/twirp/issues/185) +| **Python3** | ✓ | ✓ | [github.com/verloop/twirpy](https://github.com/verloop/twirpy) | **Java** | ✓ | ✓ | [github.com/fajran/protoc-gen-twirp_java_jaxrs](https://github.com/fajran/protoc-gen-twirp_java_jaxrs) | **Java** | | ✓ | [https://github.com/devork/flit](https://github.com/devork/flit) | **JavaScript** | ✓ | | [github.com/thechriswalker/protoc-gen-twirp_js](https://github.com/thechriswalker/protoc-gen-twirp_js) diff --git a/errors_test.go b/errors_test.go index d59d45d8..72cf4964 100644 --- a/errors_test.go +++ b/errors_test.go @@ -44,7 +44,7 @@ func TestWithMetaRaces(t *testing.T) { } func TestErrorCause(t *testing.T) { - rootCause := fmt.Errorf("this is only a test") + rootCause := errors.New("this is only a test") twerr := InternalErrorWith(rootCause) cause := errors.Cause(twerr) if cause != rootCause { @@ -57,7 +57,7 @@ type errorResponeWriter struct { } func (errorResponeWriter) Write([]byte) (int, error) { - return 0, fmt.Errorf("this is only a test") + return 0, errors.New("this is only a test") } func TestWriteError(t *testing.T) {