Skip to content

Commit db864cc

Browse files
committed
Add: go1.20; release 0.1.2
1 parent c70f1bf commit db864cc

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=0.1.1
1+
VERSION=0.1.2
22
BUILD=`git rev-parse --short=8 HEAD`
33
.PHONY: all fmt static precommit arm64 amd64 fmt static test release release_dir
44

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Make sure you have WireGuard and iptables installed
2929
To download using curl run:
3030
```shell
3131
# for x86_64
32-
curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.1/wg-cmd-0.1.1-linux-amd64 -o /usr/local/bin/wg-cmd
32+
curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.2/wg-cmd-0.1.2-linux-amd64 -o /usr/local/bin/wg-cmd
3333

3434
# for arm64
35-
curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.1/wg-cmd-0.1.1-linux-arm64 -o /usr/local/bin/wg-cmd
35+
curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.2/wg-cmd-0.1.2-linux-arm64 -o /usr/local/bin/wg-cmd
3636
```
3737

3838
Set proper permissions and run the tool:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/andrianbdn/wg-cmd
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/BurntSushi/toml v1.2.1

main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ package main
22

33
import (
44
"fmt"
5-
"math/rand"
65
"os"
7-
"time"
86

97
"github.com/andrianbdn/wg-cmd/app"
108
tea "github.com/charmbracelet/bubbletea"
@@ -16,8 +14,6 @@ var (
1614
)
1715

1816
func main() {
19-
rand.Seed(time.Now().UnixNano()) // TODO: Remove when upgrade to go 1.20
20-
2117
a := app.NewApp()
2218
a.RunCli() // will do nothing if cli is not used
2319
m := NewAppModel(a)

0 commit comments

Comments
 (0)