Skip to content
Permalink
Browse files

Bump Go version and update README

  • Loading branch information...
Depado committed Apr 20, 2018
1 parent ca112af commit 0d1f46cbcb3f3cb45e4e62d87e0be4638ee451aa
Showing with 7 additions and 4 deletions.
  1. +2 −2 .drone.yml
  2. +5 −2 README.md
@@ -5,14 +5,14 @@ workspace:
pipeline:
# Dep and vendoring
prerequisites:
image: golang:1.9
image: golang:1.10
commands:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure

# Test
test:
image: golang:1.9
image: golang:1.10
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic

@@ -1,8 +1,8 @@
# ginprom
Gin Prometheus metrics exporter inspired by [github.com/zsais/go-gin-prometheus](https://github.com/zsais/go-gin-prometheus)

![Go Version](https://img.shields.io/badge/go-1.8-brightgreen.svg)
![Go Version](https://img.shields.io/badge/go-1.9-brightgreen.svg)
![Go Version](https://img.shields.io/badge/go-1.10-brightgreen.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/Depado/ginprom)](https://goreportcard.com/report/github.com/Depado/ginprom)
[![Build Status](https://drone.depado.eu/api/badges/Depado/ginprom/status.svg)](https://drone.depado.eu/Depado/ginprom)
[![codecov](https://codecov.io/gh/Depado/ginprom/branch/master/graph/badge.svg)](https://codecov.io/gh/Depado/ginprom)
@@ -79,4 +79,7 @@ p := ginprom.New(
)
p.Use(r)
r.Use(p.Instrument())
```
```

By design, if the middleware was to panic, it would do so when a route is
called. That's why it just silently fails when no engine has been set.

0 comments on commit 0d1f46c

Please sign in to comment.
You can’t perform that action at this time.