helpers

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreAllMapKeysSame

func AreAllMapKeysSame(fields []reflect.Value) (bool, error)

AreAllMapKeysSame checks if all records (reflect.Value) have the same keys.

func GetMapKeys

func GetMapKeys(data reflect.Value) ([]string, error)

GetMapKeys retrieves the keys of a map from a reflect.StructField.

func IsCommonGoStruct

func IsCommonGoStruct(t reflect.Type) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL