forked from mirror/client_golang
commit
1d09783cb9
|
@ -63,6 +63,8 @@ workflows:
|
||||||
name: go-1-16
|
name: go-1-16
|
||||||
go_version: "1.16"
|
go_version: "1.16"
|
||||||
run_lint: true
|
run_lint: true
|
||||||
# Style and unused/missing packages are only checked against
|
- test:
|
||||||
# the latest supported Go version.
|
name: go-1-17
|
||||||
|
go_version: "1.17"
|
||||||
|
run_lint: true
|
||||||
run_style_and_unused: true
|
run_style_and_unused: true
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
//go:build go1.15
|
||||||
// +build go1.15
|
// +build go1.15
|
||||||
|
|
||||||
package collectors
|
package collectors
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
//go:build !go1.15
|
||||||
// +build !go1.15
|
// +build !go1.15
|
||||||
|
|
||||||
package collectors
|
package collectors
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
//go:build !windows
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
package prometheus
|
package prometheus
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
//go:build linux
|
||||||
// +build linux
|
// +build linux
|
||||||
|
|
||||||
package prometheus
|
package prometheus
|
||||||
|
|
Loading…
Reference in New Issue