byfieldx

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldsToKey

func FieldsToKey(v interface{}, names []string) (string, error)

FieldsToKey returns the concatenation of the string fields on v with the given names. It returns an empty string if ANY of the fields are empty.

The concatenated fields are separated by a pipe (|) character. Any pipes or backlash (\) characters in the fields are escaped with a preceding backslash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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