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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: