flaglist

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package flaglist reads the flags of a list the agents share.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(value string) []string

List splits a flag of a list, its items separated by ";" (or "," as before), dropping the blanks.

func Sizes

func Sizes(name, value string) ([]string, error)

Sizes splits the flag name of a list of sizes as List does, refusing a comma that may be a decimal one: 1,5 may be 1.5 or the sizes 1 and 5, a position 5 times another. A comma between two numbers separates them only when both have a decimal point, the format of before, eg: 0.03,0.01 or BTCUSDm=0.03,XAUUSDm=0.01.

Types

This section is empty.

Jump to

Keyboard shortcuts

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