package
0.5.1
Repository: https://github.com/jasoet/vault-client.git
Documentation: pkg.go.dev

# Functions

MapToStruct used to convert Map to Struct, mapping uses `json` tag, will also decode string to time with `time.RFC3339Nano` layoutSee https://github.com/mitchellh/mapstructure/blob/master/mapstructure_test.go for mapstructure library usage example.
This function will help you to convert your object from struct to map[string]interface{} based on your JSON tag in your structs.
ToArrStr Convert slice of interface{} to array of string.
ToArrStrPrefix Convert slice of interface{} to array of string with prefix added.
ToArrStrPrefixPath Convert slice of interface{} to array of string with prefix addedPrefix will modify to include `/` if not available.