Skip to content

Commit 1b5f27a

Browse files
committed
chore: codegen for doc
1 parent 040de28 commit 1b5f27a

File tree

12 files changed

+470
-11
lines changed

12 files changed

+470
-11
lines changed

atlasaction/action.go

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,23 +1240,28 @@ func RenderTemplate(name string, data any) (string, error) {
12401240
return buf.String(), nil
12411241
}
12421242

1243-
// toEnvName converts the given string to an environment variable name.
1244-
func toEnvName(s string) string {
1243+
// ToEnvName converts the given string to an environment variable name.
1244+
func ToEnvName(s string) string {
12451245
return strings.ToUpper(strings.NewReplacer(
12461246
" ", "_", "-", "_", "/", "_",
12471247
).Replace(s))
12481248
}
12491249

1250-
// toInputVarName converts the given string to an input variable name.
1251-
func toInputVarName(input string) string {
1252-
return fmt.Sprintf("ATLAS_INPUT_%s", toEnvName(input))
1250+
// ToInputVarName converts the given string to an input variable name.
1251+
func ToInputVarName(input string) string {
1252+
return "ATLAS_INPUT_" + ToEnvName(input)
1253+
}
1254+
1255+
// ToInputVarName converts the given string to an input variable name.
1256+
func ToOutputVarName(action, output string) string {
1257+
return "ATLAS_OUTPUT_" + ToEnvName(action+"_"+output)
12531258
}
12541259

12551260
// toOutputVar converts the given values to an output variable.
12561261
// The action and output are used to create the output variable name with the format:
12571262
// ATLAS_OUTPUT_<ACTION>_<OUTPUT>="<value>"
12581263
func toOutputVar(action, output, value string) string {
1259-
return fmt.Sprintf("ATLAS_OUTPUT_%s=%q", toEnvName(action+"_"+output), value)
1264+
return fmt.Sprintf("%s=%q", ToOutputVarName(action, output), value)
12601265
}
12611266

12621267
// fprintln writes the given values to the file using fmt.Fprintln.

atlasaction/bitbucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (a *bbPipe) GetTriggerContext(context.Context) (*TriggerContext, error) {
8080

8181
// GetInput implements the Action interface.
8282
func (a *bbPipe) GetInput(name string) string {
83-
return strings.TrimSpace(a.getenv(toInputVarName(name)))
83+
return strings.TrimSpace(a.getenv(ToInputVarName(name)))
8484
}
8585

8686
// SetOutput implements Action.

atlasaction/circleci_action.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ func (a *circleCIOrb) Getenv(key string) string {
3838

3939
// GetInput implements the Action interface.
4040
func (a *circleCIOrb) GetInput(name string) string {
41-
v := a.getenv(toInputVarName(name))
41+
v := a.getenv(ToInputVarName(name))
4242
if v == "" {
4343
// TODO: Remove this fallback once all the actions are updated.
44-
v = a.getenv(toEnvName("INPUT_" + name))
44+
v = a.getenv(ToEnvName("INPUT_" + name))
4545
}
4646
return strings.TrimSpace(v)
4747
}

atlasaction/gen/templates.go

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
package gen
2+
3+
import (
4+
"bytes"
5+
"io/fs"
6+
"strings"
7+
"text/template"
8+
9+
"ariga.io/atlas-action/atlasaction"
10+
)
11+
12+
var (
13+
// Templates holds the Go Templates for the code generation.
14+
Templates *Template
15+
// Funcs are the predefined template
16+
// functions used by the codegen.
17+
Funcs = template.FuncMap{
18+
"xtemplate": xtemplate,
19+
"hasTemplate": hasTemplate,
20+
"trimnl": func(s string) string {
21+
return strings.Trim(s, "\n")
22+
},
23+
"nl2sp": func(s string) string {
24+
return strings.ReplaceAll(s, "\n", " ")
25+
},
26+
"env": atlasaction.ToEnvName,
27+
"inputvar": atlasaction.ToInputVarName,
28+
"outputvar": atlasaction.ToOutputVarName,
29+
"dockers": func() map[string]map[string]string {
30+
return map[string]map[string]string{
31+
"mysql": {"Label": "MySQL", "DevURL": "docker://mysql/8/dev"},
32+
"postgres": {"Label": "Postgres", "DevURL": "docker://postgres/15/dev?search_path=public"},
33+
"mariadb": {"Label": "MariaDB", "DevURL": "docker://maria/latest/schema"},
34+
"sqlserver": {"Label": "SQL Server", "DevURL": "docker://sqlserver/2022-latest?mode=schema"},
35+
"clickhouse": {"Label": "ClickHouse", "DevURL": "docker://clickhouse/23.11/dev"},
36+
"sqlite": {"Label": "SQLite", "DevURL": "sqlite://db?mode-memory"},
37+
}
38+
},
39+
}
40+
)
41+
42+
type Template struct {
43+
*template.Template
44+
FuncMap template.FuncMap
45+
}
46+
47+
// MustParse is a helper that wraps a call to a function returning (*Template, error)
48+
// and panics if the error is non-nil.
49+
func MustParse(t *Template, err error) *Template {
50+
if err != nil {
51+
panic(err)
52+
}
53+
return t
54+
}
55+
56+
// NewTemplate creates an empty template with the standard codegen functions.
57+
func NewTemplate(name string) *Template {
58+
t := &Template{Template: template.New(name)}
59+
return t.Funcs(Funcs)
60+
}
61+
62+
// ParseFS is like ParseFiles or ParseGlob but reads from the file system fsys
63+
// instead of the host operating system's file system.
64+
func (t *Template) ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
65+
if _, err := t.Template.ParseFS(fsys, patterns...); err != nil {
66+
return nil, err
67+
}
68+
return t, nil
69+
}
70+
71+
// Funcs merges the given funcMap with the template functions.
72+
func (t *Template) Funcs(funcMap template.FuncMap) *Template {
73+
t.Template.Funcs(funcMap)
74+
if t.FuncMap == nil {
75+
t.FuncMap = template.FuncMap{}
76+
}
77+
for name, f := range funcMap {
78+
if _, ok := t.FuncMap[name]; !ok {
79+
t.FuncMap[name] = f
80+
}
81+
}
82+
return t
83+
}
84+
85+
// xtemplate dynamically executes templates by their names.
86+
func xtemplate(name string, v any) (string, error) {
87+
buf := bytes.NewBuffer(nil)
88+
if err := Templates.ExecuteTemplate(buf, name, v); err != nil {
89+
return "", err
90+
}
91+
return buf.String(), nil
92+
}
93+
94+
// hasTemplate checks whether a template exists in the loaded templates.
95+
func hasTemplate(name string) bool {
96+
for _, t := range Templates.Templates() {
97+
if t.Name() == name {
98+
return true
99+
}
100+
}
101+
return false
102+
}

atlasaction/gitlab_ci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (a *gitlabCI) Getenv(key string) string {
3939

4040
// GetInput implements the Action interface.
4141
func (a *gitlabCI) GetInput(name string) string {
42-
return strings.TrimSpace(a.getenv(toInputVarName(name)))
42+
return strings.TrimSpace(a.getenv(ToInputVarName(name)))
4343
}
4444

4545
// SetOutput implements the Action interface.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require (
88
github.com/alecthomas/kong v0.8.0
99
github.com/fatih/color v1.17.0
1010
github.com/gorilla/mux v1.8.1
11+
github.com/hashicorp/go-retryablehttp v0.7.7
1112
github.com/mattn/go-sqlite3 v1.14.17
1213
github.com/mitchellh/mapstructure v1.1.2
1314
github.com/rogpeppe/go-internal v1.12.1-0.20240709150035-ccf4b4329d21
@@ -24,7 +25,6 @@ require (
2425
github.com/go-openapi/inflect v0.19.0 // indirect
2526
github.com/google/go-cmp v0.6.0 // indirect
2627
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
27-
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
2828
github.com/hashicorp/hcl/v2 v2.18.1 // indirect
2929
github.com/mattn/go-colorable v0.1.13 // indirect
3030
github.com/mattn/go-isatty v0.0.20 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
3232
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
3333
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
3434
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
35+
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
36+
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
3537
github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU=
3638
github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk=
3739
github.com/hashicorp/hcl/v2 v2.18.1 h1:6nxnOJFku1EuSawSD81fuviYUV8DxFr3fp2dUi3ZYSo=

tools/gen/go.mod

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
module atlas-action-gen
2+
3+
go 1.24rc1
4+
5+
replace ariga.io/atlas-action => ../../
6+
7+
require (
8+
ariga.io/atlas-action v0.0.0-00010101000000-000000000000
9+
gopkg.in/yaml.v3 v3.0.1
10+
)
11+
12+
require (
13+
ariga.io/atlas v0.21.2-0.20240418081819-02b3f6239b04 // indirect
14+
ariga.io/atlas-go-sdk v0.6.5 // indirect
15+
github.com/agext/levenshtein v1.2.3 // indirect
16+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
17+
github.com/fatih/color v1.17.0 // indirect
18+
github.com/go-openapi/inflect v0.19.0 // indirect
19+
github.com/google/go-cmp v0.6.0 // indirect
20+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
21+
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
22+
github.com/hashicorp/hcl/v2 v2.18.1 // indirect
23+
github.com/mattn/go-colorable v0.1.13 // indirect
24+
github.com/mattn/go-isatty v0.0.20 // indirect
25+
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
26+
github.com/mitchellh/mapstructure v1.1.2 // indirect
27+
github.com/sethvargo/go-githubactions v1.3.0 // indirect
28+
github.com/vektah/gqlparser v1.3.1 // indirect
29+
github.com/zclconf/go-cty v1.14.1 // indirect
30+
golang.org/x/oauth2 v0.22.0 // indirect
31+
golang.org/x/sys v0.21.0 // indirect
32+
golang.org/x/text v0.16.0 // indirect
33+
)

tools/gen/go.sum

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
ariga.io/atlas v0.21.2-0.20240418081819-02b3f6239b04 h1:YF3qiqtnhn+y4tfhZKTfZKfizpjqHYt7rWPUb+eA4ZA=
2+
ariga.io/atlas v0.21.2-0.20240418081819-02b3f6239b04/go.mod h1:VPlcXdd4w2KqKnH54yEZcry79UAhpaWaxEsmn5JRNoE=
3+
ariga.io/atlas-go-sdk v0.6.5 h1:tl0L3ObGtHjitP9N/56njjDHUrj5jJTQBjftMNwJBcM=
4+
ariga.io/atlas-go-sdk v0.6.5/go.mod h1:9Q+/04PVyJHUse1lEE9Kp6E18xj/6mIzaUTcWYSjSnQ=
5+
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
6+
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
7+
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
8+
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
9+
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
10+
github.com/alecthomas/kong v0.8.0 h1:ryDCzutfIqJPnNn0omnrgHLbAggDQM2VWHikE1xqK7s=
11+
github.com/alecthomas/kong v0.8.0/go.mod h1:n1iCIO2xS46oE8ZfYCNDqdR0b0wZNrXAIAqro/2132U=
12+
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
13+
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
14+
github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY=
15+
github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
16+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
17+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
18+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
19+
github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
20+
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
21+
github.com/go-openapi/inflect v0.19.0 h1:9jCH9scKIbHeV9m12SmPilScz6krDxKRasNNSNPXu/4=
22+
github.com/go-openapi/inflect v0.19.0/go.mod h1:lHpZVlpIQqLyKwJ4N+YSc9hchQy/i12fJykb83CRBH4=
23+
github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68=
24+
github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
25+
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
26+
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
27+
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
28+
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
29+
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
30+
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
31+
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
32+
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
33+
github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU=
34+
github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk=
35+
github.com/hashicorp/hcl/v2 v2.18.1 h1:6nxnOJFku1EuSawSD81fuviYUV8DxFr3fp2dUi3ZYSo=
36+
github.com/hashicorp/hcl/v2 v2.18.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE=
37+
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
38+
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
39+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
40+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
41+
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
42+
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
43+
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
44+
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
45+
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
46+
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
47+
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
48+
github.com/mattn/go-sqlite3 v1.14.17 h1:mCRHCLDUBXgpKAqIKsaAaAsrAlbkeomtRFKXh2L6YIM=
49+
github.com/mattn/go-sqlite3 v1.14.17/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg=
50+
github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
51+
github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
52+
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
53+
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
54+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
55+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
56+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
57+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
58+
github.com/rogpeppe/go-internal v1.12.1-0.20240709150035-ccf4b4329d21 h1:igWZJluD8KtEtAgRyF4x6lqcxDry1ULztksMJh2mnQE=
59+
github.com/rogpeppe/go-internal v1.12.1-0.20240709150035-ccf4b4329d21/go.mod h1:RMRJLmBOqWacUkmJHRMiPKh1S1m3PA7Zh4W80/kWPpg=
60+
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
61+
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
62+
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
63+
github.com/sethvargo/go-githubactions v1.3.0 h1:Kg633LIUV2IrJsqy2MfveiED/Ouo+H2P0itWS0eLh8A=
64+
github.com/sethvargo/go-githubactions v1.3.0/go.mod h1:7/4WeHgYfSz9U5vwuToCK9KPnELVHAhGtRwLREOQV80=
65+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
66+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
67+
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
68+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
69+
github.com/vektah/gqlparser v1.3.1 h1:8b0IcD3qZKWJQHSzynbDlrtP3IxVydZ2DZepCGofqfU=
70+
github.com/vektah/gqlparser v1.3.1/go.mod h1:bkVf0FX+Stjg/MHnm8mEyubuaArhNEqfQhF+OTiAL74=
71+
github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA=
72+
github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
73+
golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA=
74+
golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
75+
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
76+
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
77+
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
78+
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
79+
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
80+
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
81+
golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
82+
golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA=
83+
golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c=
84+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
85+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
86+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
87+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
88+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
89+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)