list

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: MIT Imports: 1 Imported by: 0

README

list

A library of helpers to convert values from strings to lists for config.

GoDoc

Documentation

Overview

Package list contains helpers to convert values from strings to lists.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Splitter

type Splitter interface {
	Split(string) interface{}
}

Splitter converts a string containing a slice into a slice, or returns the string unaltered.

func NewSplitter

func NewSplitter(sep string) Splitter

NewSplitter creates a splitter that splits lists separated by sep.

Jump to

Keyboard shortcuts

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