fix golint issues (#535)

master v1.1.5
Kevin Wan 4 years ago committed by GitHub
parent af531cf264
commit f01472c9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,10 +45,10 @@ func TestGenCacheKeys(t *testing.T) {
AutoIncrement: true, AutoIncrement: true,
}, },
UniqueIndex: map[string][]*parser.Field{ UniqueIndex: map[string][]*parser.Field{
"mobile_unique": []*parser.Field{ "mobile_unique": {
mobileField, mobileField,
}, },
"class_name_unique": []*parser.Field{ "class_name_unique": {
classField, classField,
nameField, nameField,
}, },

Loading…
Cancel
Save