Reorganize folder structure

This commit is contained in:
i3h 2020-07-21 10:02:52 +08:00
parent 8fc8cf2d39
commit 23ed54d16e
10 changed files with 6 additions and 10 deletions

4
.gitignore vendored
View File

@ -1,7 +1,3 @@
# Binary Output
tcping
tcping-cli
# Script
*.sh

View File

@ -10,7 +10,7 @@ import (
"time"
"github.com/fatih/color"
"github.com/i3h/tcping/httping"
"github.com/i3h/tcping/pkg/httping"
"github.com/sirupsen/logrus"
)

View File

@ -6,14 +6,14 @@ import (
"net"
"strings"
"github.com/i3h/tcping/httping"
"github.com/i3h/tcping/mtr"
"github.com/i3h/tcping/ping"
"github.com/i3h/tcping/tcping"
"github.com/i3h/tcping/pkg/httping"
"github.com/i3h/tcping/pkg/mtr"
"github.com/i3h/tcping/pkg/ping"
"github.com/i3h/tcping/pkg/tcping"
)
var (
VersionString string
VersionString string = "v1.1.0"
)
func init() {