Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1010 Bytes

File metadata and controls

18 lines (14 loc) · 1010 Bytes

CircleCI Coverage Status

service-status-go

This library provides a small set of reusable features that most of our microservices need.

BuildInfo

TODO fix passing of flags, doesn't seem to work at the moment !

This depends on the -ldflags feature which allows you to set vars. As an example build this project could be:

    go get github.com/Financial-Times/service-status-go
    cd ${GOPATH}/src/github.com/Financial-Times/service-status-go
    flags="$(${GOPATH}/src/github.com/Financial-Times/service-status-go/buildinfo/ldFlags.sh)"
    go install -a -ldflags="${flags}"
    service-status-go | jq '.'