Skip to content

Commit 6304986

Browse files
committed
dep: go mod: update
1 parent dd2c0d2 commit 6304986

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

data/http/requests.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
"github.com/grokify/simplego/encoding/csvutil"
11-
"github.com/grokify/simplego/type/stringsutil/join"
11+
"github.com/grokify/simplego/type/stringsutil"
1212
)
1313

1414
// Endpoints writes a CSV with request data. Use Endpoints.Add(),
@@ -209,7 +209,9 @@ func (si *StatusInfo) StatusText() string {
209209
}
210210

211211
func (si *StatusInfo) FullStatus() string {
212-
return join.JoinCondenseTrimSpace([]string{strconv.Itoa(si.Status), si.SubStatus}, " ")
212+
return strings.Join(stringsutil.SliceCondenseSpace([]string{strconv.Itoa(si.Status), si.SubStatus},
213+
false, false), " ")
214+
// join.JoinCondenseTrimSpace([]string{strconv.Itoa(si.Status), si.SubStatus}, " ")
213215
}
214216

215217
func StatusMapToTimesArray(statuses map[string]StatusInfo) []StatusTime {

data/http/session.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/grokify/simplego/type/stringsutil/join"
9+
"github.com/grokify/simplego/type/stringsutil"
1010
)
1111

1212
type SessionSet struct {
@@ -114,5 +114,8 @@ func (req *Request) Endpoint() string {
114114
}
115115

116116
func (req *Request) FullStatus() string {
117-
return join.JoinCondenseTrimSpace([]string{strconv.Itoa(req.StatusCode), req.SubStatusCode}, " ")
117+
return strings.Join(
118+
stringsutil.SliceCondenseSpace([]string{strconv.Itoa(req.StatusCode), req.SubStatusCode}, false, false),
119+
" ")
120+
// join.JoinCondenseTrimSpace([]string{strconv.Itoa(req.StatusCode), req.SubStatusCode}, " ")
118121
}

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.16
44

55
require (
66
github.com/360EntSecGroup-Skylar/excelize v1.4.1
7-
github.com/blend/go-sdk v1.20210722.4 // indirect
7+
github.com/blend/go-sdk v1.20210806.4 // indirect
88
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
99
github.com/grokify/elastirad-go v0.1.2
10-
github.com/grokify/simplego v0.29.3
10+
github.com/grokify/simplego v0.30.0
1111
github.com/jessevdk/go-flags v1.5.0
1212
github.com/olekukonko/tablewriter v0.0.5
1313
github.com/pkg/errors v0.9.1

go.sum

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
5858
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
5959
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
6060
github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
61-
github.com/blend/go-sdk v1.20210722.4 h1:BgWWBEs9uai4SgsBG7RVQTygIY7/8xU3YwJaYS4jMSw=
62-
github.com/blend/go-sdk v1.20210722.4/go.mod h1:rGIavv+yoXOAXW8xszPlbXVNpwOunzR2Y/Ihr//mcb4=
61+
github.com/blend/go-sdk v1.20210806.4 h1:8RL0p1FTZ1ulZFE2vi7kyayD9omF/1/tgjUtzGoVJJM=
62+
github.com/blend/go-sdk v1.20210806.4/go.mod h1:rGIavv+yoXOAXW8xszPlbXVNpwOunzR2Y/Ihr//mcb4=
6363
github.com/blend/sentry-go v1.0.0/go.mod h1:hgyX3WXen2YBiA0NitlfsXsvS+9ly2YlEBmmmYDgrWY=
6464
github.com/buaazp/fasthttprouter v0.1.1/go.mod h1:h/Ap5oRVLeItGKTVBb+heQPks+HdIUtGmI4H5WCYijM=
6565
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
@@ -189,8 +189,8 @@ github.com/grokify/bitcoinmath v0.0.0-20171208015713-6ef5b53bef73/go.mod h1:FrFk
189189
github.com/grokify/elastirad-go v0.1.2 h1:cXolzcNPKT+1/5uYZ7L+xEXpNWTsXYaaEF86aBcmmjM=
190190
github.com/grokify/elastirad-go v0.1.2/go.mod h1:EKkozVVN3RkQ7neSu974z4BNSeuhRqPy9ZSGD13+P3A=
191191
github.com/grokify/simplego v0.27.2/go.mod h1:UKobvO2/X3aFy5fwNUxaW6YFK8A3IKCoIRqtVNhsdZU=
192-
github.com/grokify/simplego v0.29.3 h1:S5BuEm+Kqy1KsqlZtiAXzc7E54r6CYbsrvz8iqipHdc=
193-
github.com/grokify/simplego v0.29.3/go.mod h1:UKobvO2/X3aFy5fwNUxaW6YFK8A3IKCoIRqtVNhsdZU=
192+
github.com/grokify/simplego v0.30.0 h1:nAJXEoc7u7Xclz472JtAbRJpRVZ4vr7b5XGLVjpu+tc=
193+
github.com/grokify/simplego v0.30.0/go.mod h1:UKobvO2/X3aFy5fwNUxaW6YFK8A3IKCoIRqtVNhsdZU=
194194
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
195195
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
196196
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
@@ -624,6 +624,7 @@ golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3
624624
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
625625
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
626626
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
627+
golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
627628
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
628629
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
629630
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=

0 commit comments

Comments
 (0)