Skip to content

Commit

Permalink
Merge pull request #254 from tigrisdata/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
efirs committed May 12, 2023
2 parents e2552a3 + c7a042d commit 36fb0b6
Show file tree
Hide file tree
Showing 23 changed files with 138 additions and 76 deletions.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
run:
timeout: 3m
linters:
enable-all: true
disable:
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ builds:
- amd64
- arm64
binary: tigris
flags:
- -tags=release,tigris_grpc,tigris_http
ldflags:
- -w -extldflags '-static'
- -X 'github.com/tigrisdata/tigris-cli/util.Version={{.Version}}'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ${BIN}: ${GO_SRC} go.sum
CGO_ENABLED=0 go build ${BUILD_PARAM} .

lint:
golangci-lint run --timeout=3m --fix
golangci-lint run --fix
shellcheck tests/*.sh
cd pkg/npm && TIGRIS_SKIP_VERIFY=1 npm i; npx eslint install.js
git checkout pkg/npm/bin/tigris # lints above overwrites placeholder with real binary
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

[![Build Status](https://github.com/tigrisdata/tigrisdb/workflows/go-lint/badge.svg)]()
[![Build Status](https://github.com/tigrisdata/tigrisdb/workflows/go-test/badge.svg)]()
[![Go Report Card](https://goreportcard.com/badge/github.com/tigrisdata/tigris-cli)](https://goreportcard.com/report/github.com/tigrisdata/tigris-cli)

[![NPM](https://img.shields.io/npm/v/@tigrisdata/tigris-cli)](https://www.npmjs.com/package/@tigrisdata/tigris-cli)
[![tigris](https://snapcraft.io/tigris/badge.svg)](https://snapcraft.io/tigris)

Create databases and collections, read and write data, perform transactions,
stream events and setup Tigris locally, all from the command line.

# Documentation

- [Quickstart](https://docs.tigrisdata.com/quickstart/with-cli)
- [Working Locally](https://docs.tigrisdata.com/cli/working-locally)
- [Command Reference](https://docs.tigrisdata.com/cli)

Expand Down Expand Up @@ -72,6 +75,7 @@ Available Commands:
help Help about any command
import Import documents into collection
insert Inserts document(s)
invitation Invitation management commands
list Lists projects, collections or namespaces
login Authenticate on the Tigris instance
logout Logout from Tigris instance
Expand Down
10 changes: 5 additions & 5 deletions cmd/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var createCollectionCmd = &cobra.Command{
Long: "Creates collections with provided schema.",
Example: fmt.Sprintf(`
# Pass the schema as a string
%[1]s create collection --project=testdb '{
%[1]s create collection --project=myproj '{
"title": "users",
"description": "Collection of documents with details of users",
"properties": {
Expand Down Expand Up @@ -150,11 +150,11 @@ var createCollectionCmd = &cobra.Command{
# "id"
# ]
# }
%[1]s create collection --project=testdb </home/alice/users.json
%[1]s create collection --project=myproj </home/alice/users.json
# Create collection with schema passed through stdin
cat /home/alice/users.json | %[1]s create collection testdb -
%[1]s describe collection --project=testdb users | jq .schema | %[1]s create collection testdb -
cat /home/alice/users.json | %[1]s create collection myproj -
%[1]s describe collection --project=myproj users | jq .schema | %[1]s create collection myproj -
`, rootCmd.Root().Name()),
Run: func(cmd *cobra.Command, args []string) {
login.Ensure(cmd.Context(), func(ctx context.Context) error {
Expand Down Expand Up @@ -201,7 +201,7 @@ var alterCollectionCmd = &cobra.Command{
Long: "Updates collection schema.",
Example: fmt.Sprintf(`
# Pass the schema as a string
%[1]s alter collection --project=testdb '{
%[1]s alter collection --project=myproj '{
"title": "users",
"description": "Collection of documents with details of users",
"properties": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ var deleteCmd = &cobra.Command{
Long: "Deletes documents according to the provided filter.",
Example: fmt.Sprintf(`
# Delete a user where the value of the id field is 2
%[1]s delete --project=testdb users '{"id": 2}'
%[1]s delete --project=myproj users '{"id": 2}'
# Delete users where the value of id field is 1 or 3
%[1]s delete --project=testdb users '{"$or": [{"id": 1}, {"id": 3}]}'
%[1]s delete --project=myproj users '{"$or": [{"id": 1}, {"id": 3}]}'
`, rootCmd.Root().Name()),
Args: cobra.MinimumNArgs(2),
Run: func(cmd *cobra.Command, args []string) {
Expand Down
22 changes: 21 additions & 1 deletion cmd/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
package cmd

import (
"fmt"
"path"
"strings"

"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/tigrisdata/tigris-cli/util"
Expand All @@ -25,7 +29,23 @@ var docsCmd = &cobra.Command{
Short: "Generates CLI documentation in Markdown format",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
err := doc.GenMarkdownTree(rootCmd, args[0])
err := doc.GenMarkdownTreeCustom(rootCmd, args[0], func(name string) string {
name = path.Base(name)
name = strings.TrimSuffix(name, path.Ext(name))
name = strings.TrimPrefix(name, "tigris_")
name = strings.ReplaceAll(name, "_", "-")
title := strings.ReplaceAll(name, "-", " ")
title = strings.Title(title) //nolint:staticcheck

return fmt.Sprintf(`---
id: %s
title: %s
slug: /sdkstools/cli/%s
---
`, name, title, name)
}, func(link string) string {
return link
})
util.Fatal(err, "generating Markdown documentation")
},
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Automatically:
* Evolve the schema as soon as it's backward compatible
`,
Example: fmt.Sprintf(`
%[1]s import --project=testdb users --primary-key=id \
%[1]s import --project=myproj users --primary-key=id \
'[
{"id": 20, "name": "Jania McGrory"},
{"id": 21, "name": "Bunny Instone"}
Expand Down
6 changes: 3 additions & 3 deletions cmd/insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ var insertCmd = &cobra.Command{
Long: "Inserts one or more documents into a collection.",
Example: fmt.Sprintf(`
# Insert a single document into the users collection
%[1]s insert --project=testdb users '{"id": 1, "name": "Alice Alan"}'
%[1]s insert --project=myproj users '{"id": 1, "name": "Alice Alan"}'
# Insert multiple documents into the users collection
%[1]s insert --project=testdb users \
%[1]s insert --project=myproj users \
'[
{"id": 20, "name": "Jania McGrory"},
{"id": 21, "name": "Bunny Instone"}
Expand All @@ -49,7 +49,7 @@ var insertCmd = &cobra.Command{
# {"id": 20, "name": "Jania McGrory"},
# {"id": 21, "name": "Bunny Instone"}
# ]
cat /home/alice/user_records.json | %[1]s insert --project=testdb users -
cat /home/alice/user_records.json | %[1]s insert --project=myproj users -
`, rootCmd.Root().Name()),
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ all the fields of the documents are selected.`,
# Read a user document where id is 20
# The output would be
# {"id": 20, "name": "Jania McGrory"}
%[1]s read --project=testdb users '{"id": 20}'
%[1]s read --project=myproj users '{"id": 20}'
# Read user documents where id is 2 or 4
# The output would be
# {"id": 2, "name": "Alice Wong"}
# {"id": 4, "name": "Jigar Joshi"}
%[1]s read --project=testdb users '{"$or": [{"id": 2}, {"id": 4}]}'
%[1]s read --project=myproj users '{"$or": [{"id": 2}, {"id": 4}]}'
# Read all documents in the user collection
# The output would be
# {"id": 2, "name": "Alice Wong"}
# {"id": 4, "name": "Jigar Joshi"}
# {"id": 20, "name": "Jania McGrory"}
# {"id": 21, "name": "Bunny Instone"}
%[1]s read --project=testdb users
%[1]s read --project=myproj users
`, rootCmd.Root().Name()),
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/replace.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ var replaceCmd = &cobra.Command{
Long: "Inserts new documents or replaces existing documents.",
Example: fmt.Sprintf(`
# Insert new documents
%[1]s replace --project=testdb users '{"id": 1, "name": "John Wong"}'
%[1]s replace --project=myproj users '{"id": 1, "name": "John Wong"}'
# Replace existing document
# Existing document with the following data will get replaced
# {"id": 20, "name": "Jania McGrory"}
%[1]s replace --project=testdb users '{"id": 20, "name": "Alice Alan"}'
%[1]s replace --project=myproj users '{"id": 20, "name": "Alice Alan"}'
# Insert or replace multiple documents
# Existing document with the following data will get replaced
# {"id": 20, "name": "Alice Alan"}
# {"id": 21, "name": "Bunny Instone"}
# While the new document {"id": 19, "name": "New User"} will get inserted
%[1]s replace --project=testdb users \
%[1]s replace --project=myproj users \
'[
{"id": 19, "name": "New User"},
{"id": 20, "name": "Replaced Alice Alan"},
Expand Down
2 changes: 1 addition & 1 deletion cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var dbSearchCmd = &cobra.Command{
# Find users with last name exactly matching "Wong"
%[1]s %[2]s --filter '{"lastName": "Wong"}'
`, rootCmd.Root().Name(), "search --project=testdb users"),
`, rootCmd.Root().Name(), "search --project=myproj users"),
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
login.Ensure(cmd.Context(), func(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion cmd/search/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var importCmd = &cobra.Command{
Input is a stream or array of JSON documents to import.
`,
Example: fmt.Sprintf(`
%[1]s search import --project=testdb users --create-index \
%[1]s search import --project=myproj users --create-index \
'[
{"id": 20, "name": "Jania McGrory"},
{"id": 21, "name": "Bunny Instone"}
Expand Down
8 changes: 4 additions & 4 deletions cmd/search/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var createIndexCmd = &cobra.Command{
Long: "Creates indexes with provided schema.",
Example: fmt.Sprintf(`
# Pass the schema as a string
%[1]s create index --project=testdb '{
%[1]s create index --project=myproj '{
"title": "users",
"description": "Index of documents with details of users",
"properties": {
Expand Down Expand Up @@ -140,11 +140,11 @@ var createIndexCmd = &cobra.Command{
# }
# }
# }
%[1]s create index --project=testdb </home/alice/users.json
%[1]s create index --project=myproj </home/alice/users.json
# Create index with schema passed through stdin
cat /home/alice/users.json | %[1]s create index testdb -
%[1]s describe index --project=testdb users | jq .schema | %[1]s create index testdb -
cat /home/alice/users.json | %[1]s create index myproj -
%[1]s describe index --project=myproj users | jq .schema | %[1]s create index myproj -
`, "tigris search"),
Run: func(cmd *cobra.Command, args []string) {
login.Ensure(cmd.Context(), func(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion cmd/transact.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ var transactCmd = &cobra.Command{
All the read, write and schema operations are supported.`,
Example: fmt.Sprintf(`
# Perform a transaction that inserts and updates in three collections
%[1]s tigris transact testdb \
%[1]s tigris transact myproj \
'[
{
"insert": {
Expand Down
2 changes: 1 addition & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var updateCmd = &cobra.Command{
Long: "Updates the field values in documents according to provided filter.",
Example: fmt.Sprintf(`
# Update the field "name" of user where the value of the id field is 2
%[1]s update --project=testdb users '{"id": 19}' '{"$set": {"name": "Updated New User"}}'
%[1]s update --project=myproj users '{"id": 19}' '{"$set": {"name": "Updated New User"}}'
`, rootCmd.Root().Name()),
Args: cobra.MinimumNArgs(3),
Run: func(cmd *cobra.Command, args []string) {
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ require (
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.15.0
github.com/stretchr/testify v1.8.2
github.com/tigrisdata/tigris-client-go v1.0.0-beta.37
github.com/tigrisdata/tigris-client-go v1.0.0
golang.org/x/net v0.10.0
golang.org/x/oauth2 v0.7.0
golang.org/x/oauth2 v0.8.0
gopkg.in/yaml.v2 v2.4.0
)

Expand All @@ -36,7 +36,7 @@ require (
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.12.4 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
Expand Down Expand Up @@ -79,12 +79,12 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
golang.org/x/crypto v0.8.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/term v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.8.0 // indirect
golang.org/x/tools v0.9.1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.55.0 // indirect
Expand Down
22 changes: 11 additions & 11 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/deepmap/oapi-codegen v1.12.4 h1:pPmn6qI9MuOtCz82WY2Xaw46EQjgvxednXXrP7g5Q2s=
github.com/deepmap/oapi-codegen v1.12.4/go.mod h1:3lgHGMu6myQ2vqbbTXH2H1o4eXFTGnFiDaOaKKl5yas=
github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68=
github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/docker v23.0.6+incompatible h1:aBD4np894vatVX99UTx/GyOUOK4uEcROwA3+bQhEcoU=
github.com/docker/docker v23.0.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
Expand Down Expand Up @@ -355,8 +355,8 @@ github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8=
github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
github.com/tigrisdata/tigris-client-go v1.0.0-beta.37 h1:YFwjiEiexMDHTudzdrfGk9I7TAIj/mamsp/XbfNFCrE=
github.com/tigrisdata/tigris-client-go v1.0.0-beta.37/go.mod h1:2n6TQUdoTbzuTtakHT/ZNuK5X+I/i57BqqCcYAzG7y4=
github.com/tigrisdata/tigris-client-go v1.0.0 h1:07Qw8Tm0qL15WiadP0hp4iBiRzfNSJ+GH4/ozO0nNs0=
github.com/tigrisdata/tigris-client-go v1.0.0/go.mod h1:2n6TQUdoTbzuTtakHT/ZNuK5X+I/i57BqqCcYAzG7y4=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
Expand Down Expand Up @@ -395,8 +395,8 @@ golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0
golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw=
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.8.0 h1:pd9TJtTueMTVQXzk8E2XESSMQDj/U7OUu0PqJqPXQjQ=
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
Expand Down Expand Up @@ -490,8 +490,8 @@ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.3.0/go.mod h1:rQrIauxkUhJ6CuwEXwymO2/eh4xz2ZWF1nBkcxS+tGk=
golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g=
golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=
golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8=
golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand All @@ -504,8 +504,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down Expand Up @@ -649,8 +649,8 @@ golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/tools v0.8.0 h1:vSDcovVPld282ceKgDimkRSC8kpaH1dgyc9UMzlt84Y=
golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4=
golang.org/x/tools v0.9.1 h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo=
golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
Loading

0 comments on commit 36fb0b6

Please sign in to comment.