Skip to content

Commit

Permalink
Advanced Trtl Monitoring and Deps and Golang Upgrade (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort authored Dec 28, 2022
1 parent 26f429a commit 41f3959
Show file tree
Hide file tree
Showing 36 changed files with 892 additions and 665 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Install Staticcheck
run: go install honnef.co/go/tools/cmd/[email protected]
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Cache Speedup
uses: actions/cache@v3
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19

- name: Cache Speedup
uses: actions/cache@v3
Expand Down
7 changes: 3 additions & 4 deletions cmd/gdsutil/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"fmt"
"io"
"io/fs"
"io/ioutil"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -469,7 +468,7 @@ func ldbGet(c *cli.Context) (err error) {

if out != "" {
path := filepath.Join(out, string(key)+".json")
if err = ioutil.WriteFile(path, outdata, 0644); err != nil {
if err = os.WriteFile(path, outdata, 0644); err != nil {
return cli.Exit(err, 1)
}
} else {
Expand Down Expand Up @@ -502,7 +501,7 @@ func ldbPut(c *cli.Context) (err error) {
}

key = []byte(strings.TrimSuffix(name, ext))
if data, err = ioutil.ReadFile(path); err != nil {
if data, err = os.ReadFile(path); err != nil {
return cli.Exit(err, 1)
}
} else {
Expand All @@ -515,7 +514,7 @@ func ldbPut(c *cli.Context) (err error) {
if strings.TrimLeft(ext, ".") != format {
return cli.Exit(fmt.Errorf("mismatch file extension %q and data format %q: specify --format", ext, format), 1)
}
if data, err = ioutil.ReadFile(varg); err != nil {
if data, err = os.ReadFile(varg); err != nil {
return cli.Exit(err, 1)
}
} else {
Expand Down
105 changes: 52 additions & 53 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,123 +1,122 @@
module github.com/trisacrypto/directory

go 1.18
go 1.19

require (
cloud.google.com/go/secretmanager v1.4.0
github.com/auth0/go-jwt-middleware/v2 v2.0.1
github.com/getsentry/sentry-go v0.13.0
cloud.google.com/go/secretmanager v1.9.0
github.com/auth0/go-jwt-middleware/v2 v2.1.0
github.com/getsentry/sentry-go v0.16.0
github.com/ghodss/yaml v1.0.0
github.com/gin-contrib/cors v1.3.1
github.com/gin-gonic/gin v1.8.1
github.com/golang-jwt/jwt/v4 v4.4.2
github.com/gin-contrib/cors v1.4.0
github.com/gin-gonic/gin v1.8.2
github.com/golang-jwt/jwt/v4 v4.4.3
github.com/google/go-querystring v1.1.0
github.com/google/uuid v1.3.0
github.com/googleapis/gax-go v1.0.3
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/golang-lru v0.5.4
github.com/hashicorp/golang-lru v0.6.0
github.com/joho/godotenv v1.4.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/mroth/weightedrand v0.4.1
github.com/prometheus/client_golang v1.12.2
github.com/mroth/weightedrand v1.0.0
github.com/prometheus/client_golang v1.14.0
github.com/rotationalio/honu v0.3.0
github.com/rotationalio/whisper v1.1.1
github.com/rs/zerolog v1.27.0
github.com/rs/zerolog v1.28.0
github.com/segmentio/ksuid v1.0.4
github.com/sendgrid/rest v2.6.9+incompatible
github.com/sendgrid/sendgrid-go v3.11.1+incompatible
github.com/sendgrid/sendgrid-go v3.12.0+incompatible
github.com/shibukawa/configdir v0.0.0-20170330084843-e180dbdc8da0
github.com/stretchr/testify v1.8.1
github.com/swaggo/files v0.0.0-20220728132757-551d4a08d97a
github.com/swaggo/files v1.0.0
github.com/swaggo/gin-swagger v1.5.3
github.com/swaggo/swag v1.8.7
github.com/swaggo/swag v1.8.9
github.com/syndtr/goleveldb v1.0.0
github.com/trisacrypto/trisa v0.3.5
github.com/urfave/cli v1.22.9
github.com/urfave/cli/v2 v2.10.3
golang.org/x/net v0.2.0
google.golang.org/api v0.85.0
google.golang.org/genproto v0.0.0-20220627151210-f754eecb4be7
google.golang.org/grpc v1.47.0
github.com/trisacrypto/trisa v0.99999.1
github.com/urfave/cli v1.22.10
github.com/urfave/cli/v2 v2.23.7
golang.org/x/net v0.4.0
google.golang.org/api v0.105.0
google.golang.org/grpc v1.51.0
google.golang.org/protobuf v1.28.1
gopkg.in/square/go-jose.v2 v2.6.0
gopkg.in/yaml.v2 v2.4.0
)

require (
cloud.google.com/go v0.102.1 // indirect
cloud.google.com/go/iam v0.3.0 // indirect
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
cloud.google.com/go/compute/metadata v0.2.2 // indirect
cloud.google.com/go/iam v0.9.0 // indirect
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/PuerkitoBio/rehttp v1.1.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirect
github.com/cockroachdb/redact v1.1.3 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/spec v0.20.7 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/goccy/go-json v0.9.11 // indirect
github.com/goccy/go-json v0.10.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect
github.com/googleapis/gax-go/v2 v2.4.0 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.1 // indirect
github.com/googleapis/gax-go/v2 v2.7.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.15.6 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/klauspost/compress v1.15.13 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/onsi/gomega v1.19.0 // indirect
github.com/onsi/gomega v1.24.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/rogpeppe/go-internal v1.8.1 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ugorji/go/codec v1.2.7 // indirect
github.com/ugorji/go/codec v1.2.8 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
go.opencensus.io v0.23.0 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.7.0 // indirect
golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2 // indirect
golang.org/x/text v0.4.0 // indirect
golang.org/x/tools v0.3.0 // indirect
golang.org/x/oauth2 v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
golang.org/x/tools v0.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

require (
cloud.google.com/go/compute v1.7.0 // indirect
github.com/BurntSushi/toml v1.1.0 // indirect
cloud.google.com/go/compute v1.14.0 // indirect
github.com/BurntSushi/toml v1.2.1 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
github.com/auth0/go-auth0 v0.7.0
github.com/auth0/go-auth0 v0.14.0
github.com/cockroachdb/errors v1.9.0 // indirect
github.com/cockroachdb/pebble v0.0.0-20220624201436-71d17c2a007b // indirect
github.com/cockroachdb/pebble v0.0.0-20221222183300-eb5e1039627d // indirect
github.com/go-playground/validator/v10 v10.11.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/prometheus/common v0.35.0 // indirect
golang.org/x/crypto v0.3.0 // indirect
golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d
golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d // indirect
golang.org/x/sys v0.2.0 // indirect
honnef.co/go/tools v0.3.2 // indirect
github.com/prometheus/common v0.39.0 // indirect
golang.org/x/crypto v0.4.0 // indirect
golang.org/x/exp v0.0.0-20221227203929-1b447090c38c
golang.org/x/exp/typeparams v0.0.0-20221227203929-1b447090c38c // indirect
golang.org/x/sys v0.3.0 // indirect
honnef.co/go/tools v0.3.3 // indirect
software.sslmate.com/src/go-pkcs12 v0.2.0 // indirect
)
Loading

0 comments on commit 41f3959

Please sign in to comment.