Skip to content

Commit

Permalink
Fix release version
Browse files Browse the repository at this point in the history
  • Loading branch information
spyzhov committed Mar 14, 2023
1 parent a2fe491 commit 902a30f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func main() {
You can download `ajson` cli from the [release page](https://github.com/spyzhov/ajson/releases), or install from the source:

```shell script
go get github.com/spyzhov/ajson/cmd/ajson@v0.7.2
go get github.com/spyzhov/ajson/cmd/ajson@v0.8.0
```

Usage:
Expand Down
5 changes: 2 additions & 3 deletions cmd/ajson/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"os"
Expand All @@ -12,7 +11,7 @@ import (
"github.com/spyzhov/ajson"
)

var version = "v0.7.1"
var version = "v0.8.0"

func usage() {
text := ``
Expand Down Expand Up @@ -52,7 +51,7 @@ func main() {
defer func() {
_ = input.Close()
}()
data, err := ioutil.ReadAll(input)
data, err := io.ReadAll(input)

if err != nil {
log.Fatalf("error reading source: %s", err)
Expand Down

0 comments on commit 902a30f

Please sign in to comment.