experimentconfig

package
v3.24.0 Latest Latest
Warning

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

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

Documentation

Overview

Package experimentconfig contains code to manage experiments configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOptionsSerializer

func DefaultOptionsSerializer(config any) (options []string)

DefaultOptionsSerializer serializes options for [model.ExperimentTarget] honouring its Options method contract:

1. we do not serialize options whose name starts with "Safe";

2. we only serialize scalar values;

3. we never serialize any zero values.

This method MUST be passed a pointer to a struct. Otherwise, the return value will be a zero-length list (either nil or empty).

Types

This section is empty.

Jump to

Keyboard shortcuts

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