Skip to content

Commit 6fdb468

Browse files
committed
api: add build tag for go 1.7
1 parent 09dcce7 commit 6fdb468

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

api/client.go

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
// +build go1.7
15+
1416
// Package api provides clients the HTTP API's.
1517
package api
1618

api/client_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
// +build go1.7
15+
1416
package api
1517

1618
import (

api/prometheus/v1/api.go

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
// +build go1.7
15+
1416
// Package v1 provides bindings to the Prometheus HTTP API v1:
1517
// http://prometheus.io/docs/querying/api/
1618
package v1

api/prometheus/v1/api_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
// +build go1.7
15+
1416
package v1
1517

1618
import (

0 commit comments

Comments
 (0)