internal

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualOrPrefix added in v0.14.0

func EqualOrPrefix(acceptedLang, offeredLang string) bool

func EqualOrWildcard added in v0.14.0

func EqualOrWildcard(accepted, offered string) bool

func Split1 added in v0.10.0

func Split1(value string, b byte) (string, string)

Types

type Strings added in v0.10.0

type Strings []string

func Split

func Split(value, cut string) Strings

func (Strings) Contains added in v0.10.0

func (ss Strings) Contains(v string) bool

func (Strings) RemoveQuotes added in v0.10.0

func (ss Strings) RemoveQuotes() Strings

func (Strings) TrimSpace added in v0.10.0

func (ss Strings) TrimSpace() Strings

type WriterProxy added in v0.6.0

type WriterProxy struct {
	W io.Writer
	// contains filtered or unexported fields
}

func (*WriterProxy) FinalNewline added in v0.6.0

func (d *WriterProxy) FinalNewline() error

func (*WriterProxy) Write added in v0.6.0

func (d *WriterProxy) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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