go-demo-2's People
Forkers
danaspisak dxbwalker halprez birdayz leanderjanssen david-crty da3mon-01 schwamster gmelillo lukehuxley olson-nathan slonokot benkauffman minimice tashoyan jvalls nen-qlik jeanne-wn burhan keksfabrik mayconbeserra luciano-coder martin-andersson-qlik fadur dockermgeo ccactus carlgranfelt msheier trifygri stephanebouchard fosj indrgun edemiraydin sureshsivan jorgelopezrivas abechin harry1867 rfalvarez sambrawner svsundar81 egarjans dskeff yshakoor buchs pamnicesf marlonmcc lukasgeppert caseymccarthy rjimeno ascrivner-zz jacovt ryoanji manishpanjwani21 bharu456 sivagunda4 bapiraju o9601108 plusx2012 michaelpetik-axcelinno gouthamchilakala sandeepmendiratta l3x skeptomai svalevka leeban99 faizan-zia folkengine alsafi2go-demo-2's Issues
Possibly depriacted code in go example causes go test fail in docker image
While building the docker image directly inside the kluster (Chapter 8 Page 158) the following error message appears:
/go-demo-2 # docker image build -t vfarcic/go-demo-2:beta .
Sending build context to Docker daemon 106.5kB
Step 1/15 : FROM golang:1.9 AS build
---> ef89ef5c42a9
Step 2/15 : ADD . /src
---> Using cache
---> 65c29cf1b0b7
Step 3/15 : WORKDIR /src
---> Using cache
---> 99679df1b2ef
Step 4/15 : RUN go get -d -v -t
---> Using cache
---> ea45068d5f65
Step 5/15 : RUN go test --cover -v ./... --run UnitTest
---> Running in 68e693711e38
# _/src
/tmp/go-build021239558/_/src/_test/_obj_test/main.go:173:9: undefined: prometheus.Handler
FAIL _/src [build failed]
The command '/bin/sh -c go test --cover -v ./... --run UnitTest' returned a non-zero code: 2
I have looked up the issue in Go forums, and maybe the library packages pulled during the build do not support this usage of Prometheus.
Cheers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.