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
Current examples are using older versions of tyk. I think we should update examples to support latest version
I was able to compile few basic examples for 4.0.4 version using these steps:
rm -rf go.mod go.sum vendor/
go mod init tyk-plugin
go mod edit -replace github.com/jensneuse/graphql-go-tools=github.com/TykTechnologies/[email protected]
go get github.com/TykTechnologies/tyk@af3430ae6e1ca689365bf67416c590d3201b7929
<Write and finalize code>
go mod tidy
go mod vendor
docker container run -v $(pwd):/plugin-source --rm tykio/tyk-plugin-compiler:v4.0.4 plugin.so
github.com/TykTechnologies/tyk-protobuf/bindings/go: module github.com/TykTechnologies/tyk-protobuf@latest found (v0.0.0-20220714214409-d0cb35aefc54), but does not contain package github.com/TykTechnologies/tyk-protobuf/bindings/go
Current examples are using older versions of tyk. I think we should update examples to support latest version
I was able to compile few basic examples for 4.0.4 version using these steps:
Signature of ctx.SetSession is changed in latest version that's why go-auth-multiple_hook_example isn't compiling.
Related: https://community.tyk.io/t/go-auth-plugin-example-with-latest-tyk-version-v4-0-4/5635
The text was updated successfully, but these errors were encountered: