Skip to content

Commit 6fad85b

Browse files
committed
chore: update documentation
Signed-off-by: Yagiz Degirmenci <yagizcanilbey1903@gmail.com>
1 parent 5fab0b7 commit 6fad85b

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ for 64-bit Windows, macOS, and Linux targets. They contain the compiled executab
4646

4747
| platform |
4848
| ----------- |
49-
| [macOS 64 Bit](https://github.com/ycd/toc/releases/download/v0.2.5/toc_0.2.5_darwin_x86_64.tar.gz)
50-
| [Linux 32-Bit](https://github.com/ycd/toc/releases/download/v0.2.5/toc_0.2.5_linux_i386.tar.gz)
51-
| [Linux ARM 64 Bit](https://github.com/ycd/toc/releases/download/v0.2.5/toc_0.2.5_linux_arm64.tar.gz)
52-
| [Linux 64 Bit](https://github.com/ycd/toc/releases/download/v0.2.5/toc_0.2.5_linux_x86_64.tar.gz)
53-
| [Windows 64 Bit](https://github.com/ycd/toc/releases/download/v0.2.5/toc_0.2.5_windows_x86_64.zip)
54-
| [Windows 32 Bit](https://github.com/ycd/toc/releases/download/v0.2.5/toc_0.2.5_windows_i386.zip)
49+
| [macOS 64 Bit](https://github.com/ycd/dstp/releases/download/v0.1.3/dstp_0.1.3_darwin_x86_64.tar.gz)
50+
| [Linux 32-Bit](https://github.com/ycd/dstp/releases/download/v0.1.3/dstp_0.1.3_linux_i386.tar.gz)
51+
| [Linux ARM 64 Bit](https://github.com/ycd/dstp/releases/download/v0.1.5/dstp_0.1.3_linux_arm64.tar.gz)
52+
| [Linux 64 Bit](https://github.com/ycd/dstp/releases/download/v0.1.3/dstp_0.1.3_linux_x86_64.tar.gz)
53+
| [Windows 64 Bit](https://github.com/ycd/dstp/releases/download/v0.1.3/dstp_0.1.3_windows_x86_64.zip)
54+
| [Windows 32 Bit](https://github.com/ycd/dstp/releases/download/v0.1.3/dstp_0.1.3_windows_i386.zip)
5555

5656
### Installation from source
5757

@@ -76,7 +76,7 @@ for 64-bit Windows, macOS, and Linux targets. They contain the compiled executab
7676
```
7777
# May require you to use sudo
7878
$ go build .
79-
$ cp toc /usr/local/dstp
79+
$ cp dstp /usr/local/dstp
8080
```
8181

8282
3. Verify installation

pkg/ping/ping_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@ package ping
22

33
import (
44
"context"
5-
"fmt"
65
"testing"
76
)
87

98
func TestPing(t *testing.T) {
10-
out, err := RunTest(context.Background(), "8.8.8.8")
9+
_, err := RunTest(context.Background(), "8.8.8.8")
1110
if err != nil {
1211
t.Fatalf(err.Error())
1312
}
1413

15-
fmt.Println("ping: " + out)
16-
1714
}

scripts/update_readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
LATEST_TAG=$(git describe --tags --abbrev=0)

0 commit comments

Comments
 (0)