a few more gofmt simplifications
This commit is contained in:
parent
2a703376ea
commit
1c69112820
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue