summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-19 00:18:56 +0700
committerShulhan <ms@kilabit.info>2023-12-19 00:28:07 +0700
commit99c2a538c8553b29a80926ed9be718952a28571c (patch)
tree811e515874f78b65de75af593770788d67237f3a
parent207cc263d4f28e11af896f0b1e3fc06d305c2a62 (diff)
downloadawwan-99c2a538c8553b29a80926ed9be718952a28571c.tar.xz
go.mod: update share module
This fix fetching SSH config where Hostname is not set but host name may match with Host with wildcard.
-rw-r--r--go.mod2
-rw-r--r--go.sum4
-rw-r--r--ssh_client.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/go.mod b/go.mod
index 57be190..f3ada99 100644
--- a/go.mod
+++ b/go.mod
@@ -8,7 +8,7 @@ go 1.20
require (
git.sr.ht/~shulhan/ciigo v0.11.0
github.com/evanw/esbuild v0.19.8
- github.com/shuLhan/share v0.51.1-0.20231217081321-a9a2b0538189
+ github.com/shuLhan/share v0.51.1-0.20231218171101-a0c7d844b773
)
require (
diff --git a/go.sum b/go.sum
index 4697ca6..9ad630f 100644
--- a/go.sum
+++ b/go.sum
@@ -4,8 +4,8 @@ git.sr.ht/~shulhan/ciigo v0.11.0 h1:t8/PqVQVOsG025WLjNjJSI4S37jN5CkY+LyC+zd1snI=
git.sr.ht/~shulhan/ciigo v0.11.0/go.mod h1:pyt2kxKvipCAO+jrjHuEXOWJ2h0ss/hnO9j7Xot3JHc=
github.com/shuLhan/esbuild v0.19.9-0.20231209212032-2dc984ffc5f1 h1:U4DRlREmugTNkevukauQjjUsz82o3YRjtbxDILoN/Xs=
github.com/shuLhan/esbuild v0.19.9-0.20231209212032-2dc984ffc5f1/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48=
-github.com/shuLhan/share v0.51.1-0.20231217081321-a9a2b0538189 h1:PFEcAuAJGq9wA1IMQsK5pYTra4q8640KDwp0RCKqlOw=
-github.com/shuLhan/share v0.51.1-0.20231217081321-a9a2b0538189/go.mod h1:Zn0zwUdSuu7L2BKaYkVOXwbwxd5Kn6Y2bhohD9Tf0Sc=
+github.com/shuLhan/share v0.51.1-0.20231218171101-a0c7d844b773 h1:PuM/O+nj+8teEjjR8m5JBempV7EWgjMItiLeUl7EDaY=
+github.com/shuLhan/share v0.51.1-0.20231218171101-a0c7d844b773/go.mod h1:Zn0zwUdSuu7L2BKaYkVOXwbwxd5Kn6Y2bhohD9Tf0Sc=
github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68=
github.com/yuin/goldmark v1.6.0/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUeiOUc=
diff --git a/ssh_client.go b/ssh_client.go
index 7b89491..b80e8f0 100644
--- a/ssh_client.go
+++ b/ssh_client.go
@@ -35,7 +35,7 @@ type sshClient struct {
dirHome string
}
-// newSSHClient create new clients using the SSH config section.
+// newSSHClient create new SSH client using the SSH config section.
//
// Once connection established, the client create new temporary directory on
// server at dirTmp for sudoGet or sudoPut operations.