chore: update to go 1.20 (#5968)

Co-authored-by: Colin Adler <colin1adler@gmail.com>
This commit is contained in:
Kyle Carberry
2023-02-02 12:36:27 -06:00
committed by GitHub
co-authored by Colin Adler
parent 4df1031f8b
commit 026b1cd2a4
24 changed files with 91 additions and 93 deletions
+1
View File
@@ -360,6 +360,7 @@ func TestIsOrgRole(t *testing.T) {
// nolint:paralleltest
for _, c := range testCases {
c := c
t.Run(c.RoleName, func(t *testing.T) {
t.Parallel()
orgID, ok := rbac.IsOrgRole(c.RoleName)
+2 -2
View File
@@ -46,9 +46,9 @@ func ConvertRegoAst(cfg ConvertConfig, partial *rego.PartialQueries) (sqltypes.B
}
if i != 0 {
builder.WriteString("\n")
_, _ = builder.WriteString("\n")
}
builder.WriteString(q.String())
_, _ = builder.WriteString(q.String())
queries = append(queries, converted)
}