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

make bin -> error ??? #7

Open
fffmonkeyking opened this issue Feb 13, 2019 · 1 comment
Open

make bin -> error ??? #7

fffmonkeyking opened this issue Feb 13, 2019 · 1 comment

Comments

@fffmonkeyking
Copy link

go_chassis/code/src/github.com/ServiceComb-samples/go-bmi# make bin
cd ./web-app; /usr/local/go/bin/go build -ldflags '-w -extldflags "-static"' -gcflags ""

github.com/ServiceComb-samples/go-bmi/web-app

./main.go:20:22: cannot use err (type error) as type openlogging.Option in argument to "github.com/go-chassis/go-chassis/core/lager".Logger.Error
./main.go:36:27: not enough arguments in call to rest.NewRequest
have (string, string)
want (string, string, []byte)
./main.go:40:20: resp.GetStatusCode undefined (type *http.Response has no field or method GetStatusCode)
./main.go:41:14: resp.ReadBody undefined (type *http.Response has no field or method ReadBody)
Makefile:34: recipe for target 'webapp' failed
make: *** [webapp] Error 2

@wangkirin
Copy link
Contributor

this issue already fixed :) @fffmonkeyking

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

2 participants