0
0
Fork 0

a few more gofmt simplifications

This commit is contained in:
Marty Schoch 2016-04-02 22:48:00 -04:00
parent 2a703376ea
commit 1c69112820
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ func IndexTypeConstructorByName(name string) IndexTypeConstructor {
func IndexTypesAndInstances() ([]string, []string) {
types := make([]string, 0)
instances := make([]string, 0)
for name, _ := range stores {
for name := range stores {
types = append(types, name)
}
return types, instances

View File

@ -33,7 +33,7 @@ func KVStoreConstructorByName(name string) KVStoreConstructor {
func KVStoreTypesAndInstances() ([]string, []string) {
types := make([]string, 0)
instances := make([]string, 0)
for name, _ := range stores {
for name := range stores {
types = append(types, name)
}
return types, instances