chore: pickup latest version of chirino/graphql module for it’s schema api simplifications. (#58)

This commit is contained in:
Hiram Chirino 2020-05-01 02:03:35 -04:00 committed by GitHub
parent 9b51065414
commit ec2f8d0c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 127 additions and 131 deletions

View File

@ -41,7 +41,7 @@ enum OrderDirection {
if typeName == "" { if typeName == "" {
typeName = "String" typeName = "String"
} }
var t schema.Type = &schema.TypeName{Ident: schema.Ident{Text: typeName}} var t schema.Type = &schema.TypeName{Name: typeName}
if col.NotNull { if col.NotNull {
t = &schema.NonNull{OfType: t} t = &schema.NonNull{OfType: t}
} }
@ -109,16 +109,16 @@ enum OrderDirection {
Name: expressionTypeName, Name: expressionTypeName,
Fields: schema.InputValueList{ Fields: schema.InputValueList{
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "and"}, Name: "and",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: expressionTypeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: expressionTypeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "or"}, Name: "or",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: expressionTypeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: expressionTypeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "not"}, Name: "not",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: expressionTypeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: expressionTypeName}},
}, },
}, },
} }
@ -133,9 +133,9 @@ enum OrderDirection {
colType := gqltype(col) colType := gqltype(col)
nullableColType := "" nullableColType := ""
if x, ok := colType.(*schema.NonNull); ok { if x, ok := colType.(*schema.NonNull); ok {
nullableColType = x.OfType.(*schema.TypeName).Ident.Text nullableColType = x.OfType.(*schema.TypeName).Name
} else { } else {
nullableColType = colType.(*schema.TypeName).Ident.Text nullableColType = colType.(*schema.TypeName).Name
} }
outputType.Fields = append(outputType.Fields, &schema.Field{ outputType.Fields = append(outputType.Fields, &schema.Field{
@ -198,67 +198,67 @@ enum OrderDirection {
} }
inputType.Fields = append(inputType.Fields, &schema.InputValue{ inputType.Fields = append(inputType.Fields, &schema.InputValue{
Name: schema.Ident{Text: colName}, Name: colName,
Type: colType, Type: colType,
}) })
orderByType.Fields = append(orderByType.Fields, &schema.InputValue{ orderByType.Fields = append(orderByType.Fields, &schema.InputValue{
Name: schema.Ident{Text: colName}, Name: colName,
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "OrderDirection"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "OrderDirection"}},
}) })
scalarExpressionTypesNeeded[nullableColType] = true scalarExpressionTypesNeeded[nullableColType] = true
expressionType.Fields = append(expressionType.Fields, &schema.InputValue{ expressionType.Fields = append(expressionType.Fields, &schema.InputValue{
Name: schema.Ident{Text: colName}, Name: colName,
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: nullableColType + "Expression"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: nullableColType + "Expression"}},
}) })
} }
outputTypeName := &schema.TypeName{Ident: schema.Ident{Text: outputType.Name}} outputTypeName := &schema.TypeName{Name: outputType.Name}
inputTypeName := &schema.TypeName{Ident: schema.Ident{Text: inputType.Name}} inputTypeName := &schema.TypeName{Name: inputType.Name}
pluralOutputTypeName := &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: outputType.Name}}}}} pluralOutputTypeName := &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: outputType.Name}}}}
pluralInputTypeName := &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: inputType.Name}}}}} pluralInputTypeName := &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: inputType.Name}}}}
args := schema.InputValueList{ args := schema.InputValueList{
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: "To sort or ordering results just use the order_by argument. This can be combined with where, search, etc to build complex queries to fit you needs."}, Desc: schema.Description{Text: "To sort or ordering results just use the order_by argument. This can be combined with where, search, etc to build complex queries to fit you needs."},
Name: schema.Ident{Text: "order_by"}, Name: "order_by",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: orderByType.Name}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: orderByType.Name}},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "where"}, Name: "where",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: expressionType.Name}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: expressionType.Name}},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "limit"}, Name: "limit",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "Int"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "Int"}},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "offset"}, Name: "offset",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "Int"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "Int"}},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "first"}, Name: "first",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "Int"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "Int"}},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "last"}, Name: "last",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "Int"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "Int"}},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "before"}, Name: "before",
Type: &schema.TypeName{Ident: schema.Ident{Text: "String"}}, Type: &schema.TypeName{Name: "String"},
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "after"}, Name: "after",
Type: &schema.TypeName{Ident: schema.Ident{Text: "String"}}, Type: &schema.TypeName{Name: "String"},
}, },
} }
if ti.PrimaryCol != nil { if ti.PrimaryCol != nil {
@ -267,28 +267,28 @@ enum OrderDirection {
t = &schema.NonNull{OfType: t} t = &schema.NonNull{OfType: t}
} }
args = append(args, &schema.InputValue{ args = append(args, &schema.InputValue{
Desc: &schema.Description{Text: "Finds the record by the primary key"}, Desc: schema.Description{Text: "Finds the record by the primary key"},
Name: schema.Ident{Text: "id"}, Name: "id",
Type: t, Type: t,
}) })
} }
if ti.TSVCol != nil { if ti.TSVCol != nil {
args = append(args, &schema.InputValue{ args = append(args, &schema.InputValue{
Desc: &schema.Description{Text: "Performs full text search using a TSV index"}, Desc: schema.Description{Text: "Performs full text search using a TSV index"},
Name: schema.Ident{Text: "search"}, Name: "search",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}) })
} }
query.Fields = append(query.Fields, &schema.Field{ query.Fields = append(query.Fields, &schema.Field{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: singularName, Name: singularName,
Type: outputTypeName, Type: outputTypeName,
Args: args, Args: args,
}) })
query.Fields = append(query.Fields, &schema.Field{ query.Fields = append(query.Fields, &schema.Field{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: pluralName, Name: pluralName,
Type: pluralOutputTypeName, Type: pluralOutputTypeName,
Args: args, Args: args,
@ -296,19 +296,19 @@ enum OrderDirection {
mutationArgs := append(args, schema.InputValueList{ mutationArgs := append(args, schema.InputValueList{
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "insert"}, Name: "insert",
Type: inputTypeName, Type: inputTypeName,
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "update"}, Name: "update",
Type: inputTypeName, Type: inputTypeName,
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "upsert"}, Name: "upsert",
Type: inputTypeName, Type: inputTypeName,
}, },
}...) }...)
@ -322,18 +322,18 @@ enum OrderDirection {
Name: pluralName, Name: pluralName,
Args: append(mutationArgs, schema.InputValueList{ Args: append(mutationArgs, schema.InputValueList{
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "inserts"}, Name: "inserts",
Type: pluralInputTypeName, Type: pluralInputTypeName,
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "updates"}, Name: "updates",
Type: pluralInputTypeName, Type: pluralInputTypeName,
}, },
&schema.InputValue{ &schema.InputValue{
Desc: &schema.Description{Text: ""}, Desc: schema.Description{Text: ""},
Name: schema.Ident{Text: "upserts"}, Name: "upserts",
Type: pluralInputTypeName, Type: pluralInputTypeName,
}, },
}...), }...),
@ -346,125 +346,125 @@ enum OrderDirection {
Name: typeName + "Expression", Name: typeName + "Expression",
Fields: schema.InputValueList{ Fields: schema.InputValueList{
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "eq"}, Name: "eq",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "equals"}, Name: "equals",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "neq"}, Name: "neq",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "not_equals"}, Name: "not_equals",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "gt"}, Name: "gt",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "greater_than"}, Name: "greater_than",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "lt"}, Name: "lt",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "lesser_than"}, Name: "lesser_than",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "gte"}, Name: "gte",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "greater_or_equals"}, Name: "greater_or_equals",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "lte"}, Name: "lte",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "lesser_or_equals"}, Name: "lesser_or_equals",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "in"}, Name: "in",
Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}}}, Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}}}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "nin"}, Name: "nin",
Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}}}, Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}}}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "not_in"}, Name: "not_in",
Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}}}, Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}}}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "like"}, Name: "like",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "nlike"}, Name: "nlike",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "not_like"}, Name: "not_like",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "ilike"}, Name: "ilike",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "nilike"}, Name: "nilike",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "not_ilike"}, Name: "not_ilike",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "similar"}, Name: "similar",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "nsimilar"}, Name: "nsimilar",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "not_similar"}, Name: "not_similar",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "has_key"}, Name: "has_key",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "has_key_any"}, Name: "has_key_any",
Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}}}, Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}}}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "has_key_all"}, Name: "has_key_all",
Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}}}, Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}}}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "contains"}, Name: "contains",
Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: typeName}}}}}, Type: &schema.NonNull{OfType: &schema.List{OfType: &schema.NonNull{OfType: &schema.TypeName{Name: typeName}}}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "contained_in"}, Name: "contained_in",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "String"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "String"}},
}, },
&schema.InputValue{ &schema.InputValue{
Name: schema.Ident{Text: "is_null"}, Name: "is_null",
Type: &schema.NonNull{OfType: &schema.TypeName{Ident: schema.Ident{Text: "Boolean"}}}, Type: &schema.NonNull{OfType: &schema.TypeName{Name: "Boolean"}},
}, },
}, },
} }

3
go.mod
View File

@ -8,7 +8,7 @@ require (
github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b
github.com/brianvoe/gofakeit/v5 v5.2.0 github.com/brianvoe/gofakeit/v5 v5.2.0
github.com/cespare/xxhash/v2 v2.1.1 github.com/cespare/xxhash/v2 v2.1.1
github.com/chirino/graphql v0.0.0-20200419184546-f015b9dab85d github.com/chirino/graphql v0.0.0-20200430165312-293648399b1a
github.com/daaku/go.zipexe v1.0.1 // indirect github.com/daaku/go.zipexe v1.0.1 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/dlclark/regexp2 v1.2.0 // indirect github.com/dlclark/regexp2 v1.2.0 // indirect
@ -34,7 +34,6 @@ require (
github.com/valyala/fasttemplate v1.1.0 github.com/valyala/fasttemplate v1.1.0
go.uber.org/zap v1.14.1 go.uber.org/zap v1.14.1
golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 golang.org/x/crypto v0.0.0-20200414173820-0848c9571904
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 // indirect golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 // indirect
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect

13
go.sum
View File

@ -27,8 +27,8 @@ github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/chirino/graphql v0.0.0-20200419184546-f015b9dab85d h1:JnYHwwRhFmQ8DeyfqmIrzpkkxnZ+iT5V1CUd3Linin0= github.com/chirino/graphql v0.0.0-20200430165312-293648399b1a h1:WVu7r2vwlrBVmunbSSU+9/3M3AgsQyhE49CKDjHiFq4=
github.com/chirino/graphql v0.0.0-20200419184546-f015b9dab85d/go.mod h1:+34LPrbHFfKVDPsNfi445UArMEjbeTlCm7C+OpdC7IU= github.com/chirino/graphql v0.0.0-20200430165312-293648399b1a/go.mod h1:wQjjxFMFyMlsWh4Z3nMuHQtevD4Ul9UVQSnz1JOLuP8=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=
github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
@ -90,7 +90,7 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGa
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gosimple/slug v1.9.0 h1:r5vDcYrFz9BmfIAMC829un9hq7hKM4cHUrsv36LbEqs= github.com/gosimple/slug v1.9.0 h1:r5vDcYrFz9BmfIAMC829un9hq7hKM4cHUrsv36LbEqs=
github.com/gosimple/slug v1.9.0/go.mod h1:AMZ+sOVe65uByN3kgEyf9WEBKBCSS+dJjMX9x4vDJbg= github.com/gosimple/slug v1.9.0/go.mod h1:AMZ+sOVe65uByN3kgEyf9WEBKBCSS+dJjMX9x4vDJbg=
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
@ -189,8 +189,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW
github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229 h1:E2B8qYyeSgv5MXpmzZXRNp8IAQ4vjxIjhpAf5hv/tAg= github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229 h1:E2B8qYyeSgv5MXpmzZXRNp8IAQ4vjxIjhpAf5hv/tAg=
github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229/go.mod h1:0aYXnNPJ8l7uZxf45rWW1a/uME32OF0rhiYGNQ2oF2E= github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229/go.mod h1:0aYXnNPJ8l7uZxf45rWW1a/uME32OF0rhiYGNQ2oF2E=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/opentracing/opentracing-go v1.0.2 h1:3jA2P6O1F9UOrWVpwrIo17pu01KWvNWg4X946/Y5Zwg= github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.7.0 h1:7utD74fnzVc/cpcyy8sjrlFr5vYpypUixARcHIMIGuI= github.com/pelletier/go-toml v1.7.0 h1:7utD74fnzVc/cpcyy8sjrlFr5vYpypUixARcHIMIGuI=
@ -330,8 +330,6 @@ golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7 h1:fHDIZ2oxGnUZRN6WgWFCbYBjH9uqVPRCUVUDhs0wnbA= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7 h1:fHDIZ2oxGnUZRN6WgWFCbYBjH9uqVPRCUVUDhs0wnbA=
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 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-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@ -352,7 +350,6 @@ golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456 h1:ng0gs1AKnRRuEMZoTLLlbOd+C17zUDepwGQBb/n+JVg= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456 h1:ng0gs1AKnRRuEMZoTLLlbOd+C17zUDepwGQBb/n+JVg=
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 h1:opSr2sbRXk5X5/givKrrKj9HXxFpW2sdCiP8MJSKLQY= golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 h1:opSr2sbRXk5X5/givKrrKj9HXxFpW2sdCiP8MJSKLQY=
golang.org/x/sys v0.0.0-20200413165638-669c56c373c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200413165638-669c56c373c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=