/GoSimpleRestApi

Simple Rest API in go with Jenkinsfile used for trainings about CI/CD and DevOps

Primary LanguageGo

Go Simple Rest API

Used for trainings in CI/CD and DevOps.

To format the code

go fmt github.com/damontic/GoSimpleRestApi

To check style

golint github.com/damontic/GoSimpleRestApi

To check suspicious constructs

go vet github.com/damontic/GoSimpleRestApi

To run some tests

go test -v github.com/damontic/GoSimpleRestApi

To install

Make sure that the $GOPATH/bin directory is in your $PATH.

go build -x github.com/damontic/GoSimpleRestApi

This specifies a software pipeline

The app is compatible with Jenkins pipelines. It defines its own Jenkinsfile.

This app can be monitored using Prometheus

The app uses the prmetheus go client to expose a metrics endpoint.