| load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| |
| go_library( |
| name = "statusz", |
| srcs = [ |
| "load.go", |
| "statusz.go", |
| ], |
| importpath = "code.hackerspace.pl/hscloud/go/statusz", |
| visibility = ["//visibility:public"], |
| x_defs = { |
| "code.hackerspace.pl/hscloud/go/statusz.GitCommit": "{STABLE_GIT_COMMIT}", |
| "code.hackerspace.pl/hscloud/go/statusz.GitVersion": "{STABLE_GIT_VERSION}", |
| "code.hackerspace.pl/hscloud/go/statusz.Builder": "{STABLE_BUILDER}", |
| "code.hackerspace.pl/hscloud/go/statusz.BuildTimestamp": "{BUILD_TIMESTAMP}", |
| }, |
| deps = [ |
| "@com_github_golang_glog//:glog", |
| "@com_github_shirou_gopsutil//load", |
| ], |
| ) |