mirror of
https://github.com/kevwan/tproxy.git
synced 2026-05-23 07:40:35 +00:00
chore: remove images
This commit is contained in:
+2
-2
@@ -7,12 +7,12 @@ import (
|
||||
|
||||
const TimeFormat = "15:04:05.000"
|
||||
|
||||
func PrintfWithTime(format string, args ...interface{}) {
|
||||
func PrintfWithTime(format string, args ...any) {
|
||||
args = append([]interface{}{time.Now().Format(TimeFormat)}, args...)
|
||||
fmt.Printf("%s "+format, args...)
|
||||
}
|
||||
|
||||
func PrintlnWithTime(args ...interface{}) {
|
||||
func PrintlnWithTime(args ...any) {
|
||||
args = append([]interface{}{time.Now().Format(TimeFormat)}, args...)
|
||||
fmt.Println(args...)
|
||||
}
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
module github.com/kevwan/tproxy
|
||||
|
||||
go 1.16
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/fatih/color v1.13.0
|
||||
github.com/grpc/grpc/tools/http2_interop v0.0.0-20220615001509-d0751191a921
|
||||
github.com/olekukonko/tablewriter v0.0.5
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/mattn/go-colorable v0.1.9 // indirect
|
||||
github.com/mattn/go-isatty v0.0.14 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.9 // indirect
|
||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
|
||||
)
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
|
||||
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
|
||||
github.com/grpc/grpc/tools/http2_interop v0.0.0-20220611023707-932878b1ce81 h1:sYa3IEJkUhQaWW0VK2vomHvYe6GT7aGcBlP98Fq8+w8=
|
||||
github.com/grpc/grpc/tools/http2_interop v0.0.0-20220611023707-932878b1ce81/go.mod h1:BeiyA4wp8QEh/jcnxJlpfalCT/XiQ5bbFhikEDrXQcw=
|
||||
github.com/grpc/grpc/tools/http2_interop v0.0.0-20220615001509-d0751191a921 h1:zTONUZ32JlNtzbzxOEcAhV3vMwXX0bGkS803DYf4RBM=
|
||||
github.com/grpc/grpc/tools/http2_interop v0.0.0-20220615001509-d0751191a921/go.mod h1:BeiyA4wp8QEh/jcnxJlpfalCT/XiQ5bbFhikEDrXQcw=
|
||||
github.com/mattn/go-colorable v0.1.9 h1:sqDoxXbdeALODt0DAeJCVp38ps9ZogZEAXjus69YV3U=
|
||||
@@ -9,10 +7,6 @@ github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope
|
||||
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
|
||||
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
|
||||
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
|
||||
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
|
||||
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
|
||||
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
|
||||
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
|
||||
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 174 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 457 KiB |
Reference in New Issue
Block a user