customize

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package customize implements the functions, types, and interfaces for the module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFromName added in v0.1.0

func ConfigFromName(cc *configv1.Customize, name string) *configv1.Customize_Config

ConfigFromName returns the config with the given name.

func ConfigsFromType added in v0.1.0

func ConfigsFromType(cc *configv1.Customize, typo string) map[string]*configv1.Customize_Config

ConfigsFromType returns all configs with the given type.

Types

type Option

type Option = func(config *Options)

Option is a function that sets a value on a Setting.

func WithCustomize

func WithCustomize(customize *configv1.Customize) Option

WithCustomize sets the customize config.

type Options added in v0.1.56

type Options struct {
	Customize *configv1.Customize
}

Options is a struct that holds a value.

Jump to

Keyboard shortcuts

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