gnrtr

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gnrtr

type Gnrtr struct {
	// contains filtered or unexported fields
}

func NewGnrtr

func NewGnrtr(s string) (g *Gnrtr)

func (Gnrtr) Current

func (g Gnrtr) Current() string

func (Gnrtr) Index

func (g Gnrtr) Index() int

func (*Gnrtr) Next

func (g *Gnrtr) Next() (string, bool)

func (*Gnrtr) Reset

func (g *Gnrtr) Reset()

func (Gnrtr) String

func (g Gnrtr) String() (s string)

func (*Gnrtr) ToList

func (g *Gnrtr) ToList() (list []string)

type GroupChar

type GroupChar string

func (GroupChar) Parts

func (groupStart GroupChar) Parts(s string) (prefix string, comprehension string, postfix string, err error)

type GroupChars

type GroupChars map[GroupChar]GroupChar

Jump to

Keyboard shortcuts

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