utils

package
v3.0.0-alpha.0...-b63f777 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFieldAndSliceValue

func HasFieldAndSliceValue(
	slice interface{},
	fieldName, sliceFieldName string,
	fieldValue, sliceFieldValue interface{},
) (bool, bool, error)

func HasFieldValue

func HasFieldValue(slice interface{}, fieldName string, value interface{}) (bool, error)

func HasValue

func HasValue(slice interface{}, value interface{}) (bool, error)

func MustHasValue

func MustHasValue(slice interface{}, value interface{}) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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