parse

package
v0.0.0-...-544f500 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: CC0-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DigitList

func DigitList(s string) ([]int, error)

DigitList takes a string with digits integers and returns the digits as a slice.

func IntList

func IntList(s string) ([]int, error)

IntList takes a string with comma-separated integers (may be surrounded by whitespace) and returns the integers as a slice.

func IntListSep

func IntListSep(s string, sep string) ([]int, error)

IntListSep takes a string with sep-separated integers (may be surrounded by whitespace) and returns the integers as a slice.

func IntListWhitespace

func IntListWhitespace(s string) ([]int, error)

IntListWhitespace takes a string with whitespace-separated integers (may be surrounded by whitespace) and returns the integers as a slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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