config

package
v0.5.34 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package config contains config related utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(v reflect.Value) any

Config calls the WithConfig.Config method on the provided value and returns the result. If the provided value doesn't have a WithConfig.Config method, Config returns nil.

Config panics if the provided value is not a pointer to a struct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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