Skip to content

Commit

Permalink
update vendor deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sfomuseumbot committed Mar 22, 2024
1 parent 55bf6f0 commit f462481
Show file tree
Hide file tree
Showing 236 changed files with 4,675 additions and 4,679 deletions.
17 changes: 9 additions & 8 deletions cmd/wof-edtf-update-unknown-uncertain/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@ package main

import (
"context"
"errors"
"flag"
"fmt"
"io"
"log"
"github.com/whosonfirst/go-whosonfirst-edtf"
"strings"

"github.com/tidwall/gjson"
"github.com/whosonfirst/go-whosonfirst-edtf"
"github.com/whosonfirst/go-whosonfirst-iterate/v2/emitter"
"github.com/whosonfirst/go-whosonfirst-iterate/v2/iterator"
wof_writer "github.com/whosonfirst/go-whosonfirst-writer"
"github.com/whosonfirst/go-writer"
"strings"
"errors"
"github.com/tidwall/gjson"
wof_writer "github.com/whosonfirst/go-whosonfirst-writer/v3"
"github.com/whosonfirst/go-writer/v3"
)

func main() {
Expand Down Expand Up @@ -58,12 +59,12 @@ func main() {
if err != nil {
return fmt.Errorf("Failed to apply EDTF updates to %d, %w", id, err)
}

if !changed {
return nil
}

err = wof_writer.WriteFeatureBytes(ctx, wr, body)
_, err = wof_writer.WriteBytes(ctx, wr, body)

if err != nil {
return err
Expand Down
5 changes: 3 additions & 2 deletions edtf.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package edtf

import (
"fmt"
"strings"

"github.com/sfomuseum/go-edtf"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
"strings"
"github.com/tidwall/sjson"
)

func UpdateBytes(body []byte) (bool, []byte, error) {
Expand Down
45 changes: 38 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,43 @@
module github.com/whosonfirst/go-whosonfirst-edtf

go 1.16
go 1.22.1

require (
github.com/sfomuseum/go-edtf v0.3.1
github.com/tidwall/gjson v1.14.1
github.com/tidwall/sjson v1.2.4
github.com/whosonfirst/go-whosonfirst-iterate/v2 v2.0.2
github.com/whosonfirst/go-whosonfirst-writer v0.2.6
github.com/whosonfirst/go-writer v0.8.0
github.com/sfomuseum/go-edtf v1.1.1
github.com/tidwall/gjson v1.17.1
github.com/tidwall/sjson v1.2.5
github.com/whosonfirst/go-whosonfirst-iterate/v2 v2.3.4
github.com/whosonfirst/go-whosonfirst-writer/v3 v3.1.0
github.com/whosonfirst/go-writer/v3 v3.1.0
)

require (
github.com/aaronland/go-artisanal-integers v0.9.1 // indirect
github.com/aaronland/go-brooklynintegers-api v1.2.6 // indirect
github.com/aaronland/go-json-query v0.1.4 // indirect
github.com/aaronland/go-pool/v2 v2.0.0 // indirect
github.com/aaronland/go-roster v1.0.0 // indirect
github.com/aaronland/go-string v1.0.0 // indirect
github.com/aaronland/go-uid v0.3.0 // indirect
github.com/aaronland/go-uid-artisanal v0.0.2 // indirect
github.com/aaronland/go-uid-proxy v0.0.2 // indirect
github.com/aaronland/go-uid-whosonfirst v0.0.2 // indirect
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
github.com/g8rswimmer/error-chain v1.0.0 // indirect
github.com/natefinch/atomic v1.0.1 // indirect
github.com/paulmach/orb v0.8.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/whosonfirst/go-ioutil v1.0.2 // indirect
github.com/whosonfirst/go-whosonfirst-crawl v0.2.2 // indirect
github.com/whosonfirst/go-whosonfirst-export/v2 v2.7.0 // indirect
github.com/whosonfirst/go-whosonfirst-feature v0.0.26 // indirect
github.com/whosonfirst/go-whosonfirst-flags v0.4.4 // indirect
github.com/whosonfirst/go-whosonfirst-format v0.4.1 // indirect
github.com/whosonfirst/go-whosonfirst-id v1.2.0 // indirect
github.com/whosonfirst/go-whosonfirst-sources v0.1.0 // indirect
github.com/whosonfirst/go-whosonfirst-uri v1.3.0 // indirect
github.com/whosonfirst/walk v0.0.2 // indirect
go.uber.org/ratelimit v0.2.0 // indirect
)
166 changes: 59 additions & 107 deletions go.sum

Large diffs are not rendered by default.

27 changes: 0 additions & 27 deletions vendor/github.com/aaronland/go-artisanal-integers-proxy/LICENSE

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/aaronland/go-artisanal-integers/.gitignore

This file was deleted.

Loading

0 comments on commit f462481

Please sign in to comment.