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
Or without make on a mac: `bash -c 'GO_ENABLED=0 GOOS=linux go build .' `
8
+
On a mac: `bash -c 'GO_ENABLED=0 GOOS=linux go build .' `
9
+
Or using build container: `docker run --rm -v "$PWD":/usr/src/prometheus-postgres-exporter -w /usr/src/prometheus-postgres-exporter golang:1.7.3 bash -c 'go get -d; go build -v -o build/prometheus-postgres-exporter'`
13
10
14
11
See the [github.com/lib/pq](http://github.com/lib/pq) module for other ways to format the connection string.
0 commit comments