| load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = [ |
| "load.go", |
| "statusz.go", |
| ], |
| importpath = "code.hackerspace.pl/hscloud/go/statusz", |
| visibility = ["//visibility:public"], |
| deps = [ |
| "@com_github_golang_glog//:go_default_library", |
| "@com_github_shirou_gopsutil//load:go_default_library", |
| ], |
| 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}", |
| }, |
| ) |