File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -1006,24 +1006,24 @@ func isTypeOrPtrTo(ptr types.Type, named *types.Named) bool {
10061006}
10071007
10081008var supportedSliceTypes = map [string ]struct {}{
1009- "int8" : struct {} {},
1010- "uint8" : struct {} {},
1011- "byte" : struct {} {},
1012- "int16" : struct {} {},
1013- "uint16" : struct {} {},
1014- "int32" : struct {} {},
1015- "uint32" : struct {} {},
1016- "int" : struct {} {},
1017- "uint" : struct {} {},
1018- "int64" : struct {} {},
1019- "uint64" : struct {} {},
1020- "float32" : struct {} {},
1021- "float64" : struct {} {},
1022- "bool" : struct {} {},
1023- "string" : struct {} {},
1024- "time.Time" : struct {} {},
1025- "time.Duration" : struct {} {},
1026- "net/url.URL" : struct {} {},
1009+ "int8" : {},
1010+ "uint8" : {},
1011+ "byte" : {},
1012+ "int16" : {},
1013+ "uint16" : {},
1014+ "int32" : {},
1015+ "uint32" : {},
1016+ "int" : {},
1017+ "uint" : {},
1018+ "int64" : {},
1019+ "uint64" : {},
1020+ "float32" : {},
1021+ "float64" : {},
1022+ "bool" : {},
1023+ "string" : {},
1024+ "time.Time" : {},
1025+ "time.Duration" : {},
1026+ "net/url.URL" : {},
10271027}
10281028
10291029// castSlice returns the type to which the slice has to be casted and a bool
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ type QueryRelationFixture struct {
7272}
7373
7474var queryFixtures = []* QueryFixture {
75- & QueryFixture {
75+ {
7676 ID : kallax .NewULID (),
7777 Foo : "Foo0" ,
7878 StringProperty : "StringProperty0" ,
@@ -87,7 +87,7 @@ var queryFixtures = []*QueryFixture{
8787 AliasStringParam : "AliasString0" ,
8888 AliasIntParam : 0 ,
8989 },
90- & QueryFixture {
90+ {
9191 ID : kallax .NewULID (),
9292 Foo : "Foo1" ,
9393 StringProperty : "StringProperty1" ,
@@ -102,7 +102,7 @@ var queryFixtures = []*QueryFixture{
102102 AliasStringParam : "AliasString1" ,
103103 AliasIntParam : 1 ,
104104 },
105- & QueryFixture {
105+ {
106106 ID : kallax .NewULID (),
107107 Foo : "Foo2" ,
108108 StringProperty : "StringProperty2" ,
You can’t perform that action at this time.
0 commit comments