reflectutil

package
v0.8.18 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package reflectutil provides reflection-based utilities, such as dynamic boolean setting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBool

func SetBool(iface any, fieldName string, value bool) bool

SetBool looks for a boolean field value named `fieldName` in `iface` and sets it to `value`. Upon success a true value is returned, otherwise false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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