Skip to content

Commit

Permalink
changes for Go 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
KenjiTakahashi committed Aug 8, 2021
1 parent f2a4751 commit de80e95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [1.8, 1.9, "1.10", 1.11, 1.12, 1.13, 1.14, 1.15]
go: [1.8, 1.9, "1.10", 1.11, 1.12, 1.13, 1.14, 1.15, 1.16]

steps:
- name: setup Go
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
battery [![Build Status](https://travis-ci.org/distatus/battery.svg?branch=master)](https://travis-ci.org/distatus/battery) [![Go Report Card](https://goreportcard.com/badge/github.com/distatus/battery)](https://goreportcard.com/report/github.com/distatus/battery) [![GoDoc](https://godoc.org/github.com/distatus/battery?status.svg)](https://godoc.org/github.com/distatus/battery)
battery ![Build Status](https://github.com/distatus/battery/actions/workflows/tests.yml/badge.svg?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/distatus/battery)](https://goreportcard.com/report/github.com/distatus/battery) [![GoDoc](https://pkg.go.dev/badge/github.com/distatus/battery)](https://pkg.go.dev/github.com/distatus/battery)
=======

Cross-platform, normalized battery information library.
Expand Down Expand Up @@ -27,6 +27,8 @@ Code Example
------------

```go
package main

import (
"fmt"

Expand Down Expand Up @@ -60,7 +62,7 @@ There is also a little utility which - more or less - mimicks the GNU/Linux `acp
*Installation*

```bash
$ go get -u github.com/distatus/battery/cmd/battery
$ go install github.com/distatus/battery/cmd/battery@latest
```

*Usage*
Expand Down

0 comments on commit de80e95

Please sign in to comment.