string_slice

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSlice

type StringSlice []string

func (*StringSlice) Set

func (xs *StringSlice) Set(s string) error

Set the value of s to xs. To specify multiple values separate each with a comma and no space. This is needed for the flag.Value interface so we can read comman-separated values into xs.

func (StringSlice) String

func (xs StringSlice) String() string

Convert xs to a string. This is needed for the flag.Value interface so we can read comman-separated values into a StringSlice.

Jump to

Keyboard shortcuts

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