csv

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 1 Imported by: 1

README

csv

Go module to work with Comma-Separated Value strings

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s string, v string, delimiter string) bool

Contains returns true if s contains v, delimited by delimiter.

Types

type String

type String string

func (String) Add

func (s String) Add(v ...string) String

Add adds the values v to s.

func (String) Contains

func (s String) Contains(v string) bool

Contains returns true if s contains v.

func (String) Remove

func (s String) Remove(v ...string) String

Remove removes the values v from s.

func (String) Set

func (s String) Set(i int, v string) String

Set sets the value at index i to v.

func (String) Values

func (s String) Values() []string

Values returns the values of s.

Jump to

Keyboard shortcuts

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