Skip to content

Commit 64f04c2

Browse files
author
thisisaaronland
committed
update vendor deps
1 parent ecfd204 commit 64f04c2

File tree

337 files changed

+9
-161086
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+9
-161086
lines changed

cmd/wof-update-hook/main.go

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ package main
88
import (
99
"flag"
1010
"fmt"
11-
"github.com/briandowns/spinner"
1211
"github.com/google/go-github/v27/github"
1312
"github.com/whosonfirst/go-whosonfirst-github/util"
1413
"log"
1514
"strings"
16-
"time"
1715
)
1816

1917
func main() {
@@ -52,24 +50,6 @@ func main() {
5250

5351
if *repo == "*" {
5452

55-
done := make(chan bool)
56-
57-
go func() {
58-
59-
sp := spinner.New(spinner.CharSets[38], 200*time.Millisecond)
60-
sp.Prefix = "fetching repo list..."
61-
sp.Start()
62-
63-
for {
64-
65-
select {
66-
case <-done:
67-
sp.Stop()
68-
return
69-
}
70-
}
71-
}()
72-
7353
repos_opts := &github.RepositoryListByOrgOptions{
7454
ListOptions: github.ListOptions{PerPage: 100},
7555
}
@@ -115,8 +95,6 @@ func main() {
11595
repos_opts.ListOptions.Page = repos_rsp.NextPage
11696
}
11797

118-
done <- true
119-
12098
} else {
12199

122100
log.Fatal("Please get hooks for a single repo")

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module github.com/whosonfirst/go-whosonfirst-github
22

3-
go 1.12
3+
go 1.16
44

55
require (
6-
github.com/briandowns/spinner v1.16.0
76
github.com/google/go-github/v27 v27.0.6
87
github.com/sfomuseum/go-flags v0.8.2
98
github.com/whosonfirst/iso8601duration v0.0.0-20150204201828-8da3af7a2a61
10-
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
9+
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1
1110
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43 h1:ld7aEMNHoBnnDAX15v1T6z
231231
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
232232
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914 h1:3B43BWw0xEBsLZ/NO1VALz6fppU3481pik+2Ksv45z8=
233233
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
234+
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1 h1:B333XXssMuKQeBwiNODx4TupZy7bf4sxFZnN2ZOcvUE=
235+
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
234236
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
235237
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
236238
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=

vendor/github.com/briandowns/spinner/.gitignore

Lines changed: 0 additions & 29 deletions
This file was deleted.

vendor/github.com/briandowns/spinner/.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

vendor/github.com/briandowns/spinner/LICENSE

Lines changed: 0 additions & 174 deletions
This file was deleted.

vendor/github.com/briandowns/spinner/Makefile

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)