formatter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DEFAULTFORMAT = FDEFAULT
	DEFAULTJOIN   = JDASHED
	DEFAULTSPLIT  = SSPACE
)

Functions

func FDEFAULT

func FDEFAULT(s string) string

Formatter

func JCOMMA

func JCOMMA(ss []string) string

func JDASHED

func JDASHED(ss []string) string

Joiner

func JUNDER

func JUNDER(ss []string) string

func SCOMMA

func SCOMMA(s string) []string

func SDASH

func SDASH(s string) []string

func SSPACE

func SSPACE(s string) []string

Splitter

func SUNDER

func SUNDER(s string) []string

Types

type FormatFunc

type FormatFunc func(string) string

type JoinFunc

type JoinFunc func([]string) string

type SplitFunc

type SplitFunc func(string) []string

Jump to

Keyboard shortcuts

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