Another big refactor: Back to a single folder for persistence implementation
This commit is contained in:
@@ -2,9 +2,7 @@ package persistence
|
||||
|
||||
import "reflect"
|
||||
|
||||
type ProviderIdentifier string
|
||||
|
||||
func CollectValue(collection interface{}, getValue func(item interface{}) string) []string {
|
||||
func collectField(collection interface{}, getValue func(item interface{}) string) []string {
|
||||
s := reflect.ValueOf(collection)
|
||||
result := make([]string, s.Len())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user