mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-26 22:39:07 +01:00
support for GetAppliedZoneCandidates in sqlite
Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
@@ -122,7 +122,8 @@ func FromSqlTypesToSharedTypes(src reflect.Value, dst reflect.Value) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func StructFields(src reflect.Value) []any {
|
||||
func StructFields(s any) []any {
|
||||
src := reflect.ValueOf(s)
|
||||
toret := make([]any, 0)
|
||||
typ := src.Elem().Type()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user