Error compiling gleam in macos
jmozah opened this issue · comments
github.com/chrislusf/gleam/pb
pb/gleam.pb.go:2047:20: cannot use handler (type func("golang.org/x/net/context".Context, interface {}) (interface {}, error)) as type grpc.UnaryHandler in argument to interceptor
pb/gleam.pb.go:2108:4: cannot use _GleamMaster_GetResources_Handler (type func(interface {}, "golang.org/x/net/context".Context, func(interface {}) error, grpc.UnaryServerInterceptor) (interface {}, error)) as type grpc.methodHandler in field value
pb/gleam.pb.go:2461:20: cannot use handler (type func("golang.org/x/net/context".Context, interface {}) (interface {}, error)) as type grpc.UnaryHandler in argument to interceptor
pb/gleam.pb.go:2479:20: cannot use handler (type func("golang.org/x/net/context".Context, interface {}) (interface {}, error)) as type grpc.UnaryHandler in argument to interceptor
pb/gleam.pb.go:2488:4: cannot use _GleamAgent_Delete_Handler (type func(interface {}, "golang.org/x/net/context".Context, func(interface {}) error, grpc.UnaryServerInterceptor) (interface {}, error)) as type grpc.methodHandler in field value
pb/gleam.pb.go:2492:4: cannot use _GleamAgent_Cleanup_Handler (type func(interface {}, "golang.org/x/net/context".Context, func(interface {}) error, grpc.UnaryServerInterceptor) (interface {}, error)) as type grpc.methodHandler in field value
I suspect you need to update your "google.golang.org/grpc"
thanks for the update!