Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(*): support SQL output format #122

Merged
merged 43 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
dd207cf
add specific format dump examples for debugging purposesgs
maxdemaio Feb 1, 2023
3a61f96
add json formatted lookup example for debugging
maxdemaio Feb 4, 2023
79cf3e6
create constants for xml/sql format possibilities
maxdemaio Feb 4, 2023
5afc806
add sep funcs for xml/sql output, also parse format and print for now
maxdemaio Feb 4, 2023
3960d1b
Merge remote-tracking branch 'origin/main' into 59-support-multiple-o…
maxdemaio Feb 4, 2023
0bd5900
add branching when we have xml or sql formats
maxdemaio Feb 4, 2023
84246f5
start adding gorm tags for sql on our go structures
maxdemaio Feb 10, 2023
63dc348
add sq thanks to bokwoon and start sql impl
maxdemaio Feb 22, 2023
9f28c83
add examples for all sql formats in launcher for debugging and testing
maxdemaio Feb 22, 2023
08a13f4
update sqddl to latest version
maxdemaio Feb 22, 2023
818437a
make postrgeSQL command match sq dialect str
maxdemaio Feb 22, 2023
0ab5def
add sql dialects to dump options
maxdemaio Feb 22, 2023
ed96b09
add sql dialect param and send to converters
maxdemaio Feb 22, 2023
7643466
add bokwoon's sq library to make create/insert statements based on sq…
maxdemaio Feb 22, 2023
af9c8e0
rm gorm and run go mod tidy
maxdemaio Feb 22, 2023
c871a25
rm console log
maxdemaio Feb 22, 2023
80d7545
add dictionary insert statement
maxdemaio Feb 22, 2023
8539230
add dict, entry, and ety for sql
maxdemaio Feb 22, 2023
7bc080f
rm language and add usages for sql convert
maxdemaio Feb 23, 2023
fbd5cb3
fin all dict parts for sql convert
maxdemaio Feb 23, 2023
dcd216b
update comments
maxdemaio Feb 23, 2023
4982caa
rm gorm
maxdemaio Feb 23, 2023
8a5f2a7
Merge remote-tracking branch 'origin/main' into 59-support-multiple-o…
maxdemaio Feb 23, 2023
ab39d79
make comment nit fix
maxdemaio Feb 23, 2023
d4a0a61
rm hardcoded pgsql dialect
maxdemaio Feb 23, 2023
6d3f29b
fix constants nit and use switch statement, also error handle dump pa…
maxdemaio Feb 24, 2023
f8eee42
make error all lowercase for lint
maxdemaio Feb 24, 2023
a6f5a6f
split insert statements into functions for readibility, also rename t…
maxdemaio Feb 24, 2023
d292187
add enum for sqldialect in go odict package not cli
maxdemaio Feb 24, 2023
4349800
fix bug for unique ids
maxdemaio Feb 24, 2023
87b9ba0
make spacing consistent
maxdemaio Feb 24, 2023
1055aae
rm un-needed example++
maxdemaio Feb 24, 2023
2376c4c
add in forgotten sqlCmds +=
maxdemaio Feb 24, 2023
1e270c8
fix pk/fk issue
maxdemaio Feb 24, 2023
c16d3b3
update description, does not default to xml and must be an allowed fo…
maxdemaio Feb 28, 2023
b8b3e46
Merge branch 'main' into 59-support-multiple-output-formats
maxdemaio Mar 4, 2023
3813c74
run go mod tidy
maxdemaio Mar 4, 2023
92ef068
Merge remote-tracking branch 'refs/remotes/origin/59-support-multiple…
maxdemaio Mar 4, 2023
75b562b
run go mod tidy
maxdemaio Mar 4, 2023
f6e6605
Merge branch 'main' into 59-support-multiple-output-formats
maxdemaio Mar 10, 2023
73f8950
merge from main
maxdemaio Mar 15, 2023
4ab1258
run go mod tidy
maxdemaio Mar 15, 2023
7adee6c
solve nits
maxdemaio Mar 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 51 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["c", "examples/example2.xml"]
"args": ["c", "examples/example1.xml"]
},
{
"name": "Entry Lookup",
Expand All @@ -25,7 +25,15 @@
"args": ["l", "examples/example1.odict", "run"]
},
{
"name": "Dump Dictionary",
"name": "Entry Lookup JSON Formatted",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["l", "-f", "json", "examples/example1.odict", "run"]
},
{
"name": "Dump Dictionary to Default XML format",
"type": "go",
"request": "launch",
"mode": "auto",
Expand All @@ -38,12 +46,47 @@
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": [
"m",
"examples/example1.odict",
"examples/example2.odict",
"examples/merged.odict"
]
"args": ["m", "examples/example1.odict", "examples/example2.odict", "examples/merged.odict"]
},
{
"name": "Dump Dictionary to Specific XML Format",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["d", "-f", "xml", "examples/example1.odict", "examples/output.xml"]
},
{
"name": "Dump Dictionary to Specific PostgreSQL Format",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["d", "-f", "postgres", "examples/example1.odict", "examples/output.sql"]
},
{
"name": "Dump Dictionary to Specific SQLite Format",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["d", "-f", "sqlite", "examples/example1.odict", "examples/output.sql"]
},
{
"name": "Dump Dictionary to Specific MySQL Format",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["d", "-f", "mysql", "examples/example1.odict", "examples/output.sql"]
},
{
"name": "Dump Dictionary to Specific SQLServer Format",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/odict.go",
"args": ["d", "-f", "sqlserver", "examples/example1.odict", "examples/output.sql"]
}
]
}
12 changes: 10 additions & 2 deletions cli/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,16 @@ var App = &cli.App{
{
Name: "dump",
Aliases: []string{"d"},
Usage: "dumps a previously compiled dictionary to its original ODXML",
Action: dump,
Usage: "dumps a previously compiled dictionary (defaults to original ODXML)",
maxdemaio marked this conversation as resolved.
Show resolved Hide resolved
Flags: []cli.Flag{
&cli.StringFlag{
Name: "format",
Aliases: []string{"f"},
Usage: "Specific output format of the dump (ODXML or SQL)",
maxdemaio marked this conversation as resolved.
Show resolved Hide resolved
Value: dumpXml,
},
},
Action: dump,
},
{
Name: "merge",
Expand Down
27 changes: 26 additions & 1 deletion cli/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,42 @@ import (
cli "github.com/urfave/cli/v2"
)

type DumpFormat = string

const (
maxdemaio marked this conversation as resolved.
Show resolved Hide resolved
dumpXml DumpFormat = "xml"
dumpPostgreSQL DumpFormat = "postgres"
dumpSQLite DumpFormat = "sqlite"
dumpMySQL DumpFormat = "mysql"
dumpSQLServer DumpFormat = "sqlserver"
)

func dump(c *cli.Context) error {
inputFile := c.Args().Get(0)
outputFile := c.Args().Get(1)
format := c.String("format")

if len(inputFile) == 0 || len(outputFile) == 0 {
return errors.New("usage: odict dump [input file] [output file]")
}

t(c, func() {
dict := odict.ReadDictionaryFromPath(inputFile)
dumped := dict.Dump()

// All SQL formats and XML
var dumped string
if format == dumpPostgreSQL {
maxdemaio marked this conversation as resolved.
Show resolved Hide resolved
dumped = dict.DumpSQL(dumpPostgreSQL)
} else if format == dumpSQLite {
dumped = dict.DumpSQL(dumpSQLite)
} else if format == dumpMySQL {
dumped = dict.DumpSQL(dumpMySQL)
} else if format == dumpSQLServer {
dumped = dict.DumpSQL(dumpSQLServer)
} else {
dumped = dict.DumpXML()
}

file, err := os.Create(outputFile)

odict.Check(err)
Expand Down
10 changes: 9 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ require (
github.com/urfave/cli/v2 v2.24.4
)

require (
github.com/kr/pretty v0.1.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/tools v0.5.0 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)

require (
github.com/RoaringBitmap/roaring v1.2.1 // indirect
github.com/bits-and-blooms/bitset v1.3.0 // indirect
Expand All @@ -31,6 +38,8 @@ require (
github.com/blevesearch/zapx/v13 v13.3.7 // indirect
github.com/blevesearch/zapx/v14 v14.3.7 // indirect
github.com/blevesearch/zapx/v15 v15.3.8 // indirect
github.com/bokwoon95/sq v0.2.6
github.com/bokwoon95/sqddl v0.3.12
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
Expand All @@ -50,7 +59,6 @@ require (
go.etcd.io/bbolt v1.3.6 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/term v0.4.0 // indirect
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
30 changes: 24 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,21 @@ github.com/blevesearch/zapx/v14 v14.3.7 h1:gfe+fbWslDWP/evHLtp/GOvmNM3sw1BbqD7Lh
github.com/blevesearch/zapx/v14 v14.3.7/go.mod h1:9J/RbOkqZ1KSjmkOes03AkETX7hrXT0sFMpWH4ewC4w=
github.com/blevesearch/zapx/v15 v15.3.8 h1:q4uMngBHzL1IIhRc8AJUEkj6dGOE3u1l3phLu7hq8uk=
github.com/blevesearch/zapx/v15 v15.3.8/go.mod h1:m7Y6m8soYUvS7MjN9eKlz1xrLCcmqfFadmu7GhWIrLY=
github.com/bokwoon95/sq v0.2.6 h1:0LA+Zmzn761z9dbjdqHdg0aGWjtXx05HF79RsquiPYw=
github.com/bokwoon95/sq v0.2.6/go.mod h1:7UwnMRNTM1SgDHcZNaseXbznALQ1BF3XKldEf/XUVyk=
github.com/bokwoon95/sqddl v0.3.12 h1:ByIxglGU/ng7OkoEDtlyI8n3YRRHE2gCZjLfhhf+oN4=
github.com/bokwoon95/sqddl v0.3.12/go.mod h1:OgvFqEXoqtz1xH1Z3yQiBphDu3l5aXzcD/s4hvAxPnU=
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
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/denisenkom/go-mssqldb v0.12.3 h1:pBSGx9Tq67pBOTLmxNuirNTeB8Vjmf886Kx+8Y+8shw=
github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=
github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg=
github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc=
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA=
github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A=
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 h1:gtexQ/VGyN+VVFRXSFiguSNcXmS6rkKT+X7FdIrTtfo=
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
Expand All @@ -51,23 +59,31 @@ github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/flatbuffers v23.1.21+incompatible h1:bUqzx/MXCDxuS0hRJL2EfjyZL3uQrPbMocUa8zGqsTA=
github.com/google/flatbuffers v23.1.21+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
github.com/json-iterator/go v0.0.0-20171115153421-f7279a603ede/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod h1:vNUNkEQ1e29fT/6vq2aBdFsgNPmy8qMdSay1npru+Sw=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU=
github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y=
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ=
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
Expand Down Expand Up @@ -95,8 +111,6 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/urfave/cli/v2 v2.24.2 h1:q1VA+ofZ8SWfEKB9xXHUD4QZaeI9e+ItEqSbfH2JBXk=
github.com/urfave/cli/v2 v2.24.2/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
github.com/urfave/cli/v2 v2.24.3 h1:7Q1w8VN8yE0MJEHP06bv89PjYsN4IHWED2s1v/Zlfm0=
github.com/urfave/cli/v2 v2.24.3/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
github.com/urfave/cli/v2 v2.24.4 h1:0gyJJEBYtCV87zI/x2nZCPyDxD51K6xM8SkwjHFCNEU=
Expand All @@ -105,22 +119,26 @@ github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRT
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU=
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE=
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/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.4.0 h1:O7UWfv5+A2qiuulQk30kVinPoMtoIPeVaKLEgLpVkvg=
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
golang.org/x/tools v0.5.0 h1:+bSpV5HIeWkuvgaMfI3UmKRThoTA5ODJTUd8T17NO+4=
golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0=
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Expand Down
Loading