From e7e903064f5e9eb5da98208bae10b475d4db0f8c Mon Sep 17 00:00:00 2001 From: Norbert Tretkowski Date: Wed, 31 May 2017 15:00:54 +0200 Subject: [PATCH] Import "log", it is required for log.Fatal(... (#305) Import "log" in the example doc comment Package log is required for log.Fatal. --- prometheus/doc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/prometheus/doc.go b/prometheus/doc.go index 1fdef9e..278969d 100644 --- a/prometheus/doc.go +++ b/prometheus/doc.go @@ -26,6 +26,7 @@ // package main // // import ( +// "log" // "net/http" // // "github.com/prometheus/client_golang/prometheus"