config

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 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