Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Can't get pegasus-go-client by go get -u #100

Open
Smityz opened this issue Sep 18, 2021 · 0 comments
Open

Can't get pegasus-go-client by go get -u #100

Smityz opened this issue Sep 18, 2021 · 0 comments

Comments

@Smityz
Copy link
Contributor

Smityz commented Sep 18, 2021

smilencer@mi:~$ cat result 
# github.com/XiaoMi/pegasus-go-client/idl/cmd
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:42:36: not enough arguments in call to iprot.ReadStructBegin
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:47:55: not enough arguments in call to iprot.ReadFieldBegin
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:61:25: not enough arguments in call to iprot.Skip
	have (thrift.TType)
	want (context.Context, thrift.TType)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:80:31: not enough arguments in call to iprot.ReadFieldEnd
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:84:31: not enough arguments in call to iprot.ReadStructEnd
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:91:31: not enough arguments in call to iprot.ReadString
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:100:37: not enough arguments in call to iprot.ReadListBegin
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:108:32: not enough arguments in call to iprot.ReadString
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:115:29: not enough arguments in call to iprot.ReadListEnd
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:122:34: not enough arguments in call to oprot.WriteStructBegin
	have (string)
	want (context.Context, string)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/cmd/cmd.go:122:34: too many errors
# github.com/XiaoMi/pegasus-go-client/idl/base
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/blob.go:18:31: not enough arguments in call to iprot.ReadBinary
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/blob.go:27:26: not enough arguments in call to oprot.WriteBinary
	have ([]byte)
	want (context.Context, []byte)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/error_code.go:105:34: not enough arguments in call to iprot.ReadString
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/error_code.go:110:26: not enough arguments in call to oprot.WriteString
	have (string)
	want (context.Context, string)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/gpid.go:18:25: not enough arguments in call to iprot.ReadI64
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/gpid.go:30:23: not enough arguments in call to oprot.WriteI64
	have (int64)
	want (context.Context, int64)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/rpc_address.go:26:31: not enough arguments in call to iprot.ReadI64
	have ()
	want (context.Context)
Code/GOPATH/pkg/mod/github.com/!xiao!mi/[email protected]/idl/base/rpc_address.go:35:23: not enough arguments in call to oprot.WriteI64
	have (int64)
	want (context.Context, int64)

I can't find a way to fix it. But is accessible to use go mod

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

No branches or pull requests

1 participant