Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use func literal (type func(interface {})) as type func(interface {}) error in argument to reactor.OnNext #2

Open
gcxfd opened this issue Aug 20, 2020 · 0 comments

Comments

@gcxfd
Copy link

gcxfd commented Aug 20, 2020

❯ ls

go.mod  go.sum  ping-pong.pb.go  ping-pong_test.go

❯ go test

go build github.com/rsocket/rsocket-rpc-go/examples/ping-pong: no non-test Go files in /Users/z/go/pkg/mod/github.com/rsocket/[email protected]/examples/ping-pong
# github.com/rsocket/rsocket-go/rx
/Users/z/go/pkg/mod/github.com/rsocket/[email protected]/rx/subscriber.go:12:60: cannot use func literal (type func(interface {})) as type func(interface {}) error in argument to reactor.OnNext
FAIL    rmw [build failed]

❯ go version
go version go1.15 darwin/amd64
❯ cat go.mod

module rmw

go 1.15

require (
        github.com/golang/protobuf v1.4.2
        github.com/jjeffcaii/reactor-go v0.2.2
        github.com/rsocket/rsocket-go v0.5.13
        github.com/rsocket/rsocket-rpc-go v0.0.1
        github.com/stretchr/testify v1.6.1
)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant