internal

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 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 WriterProxy added in v0.6.0

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

func EnsureNewline added in v0.34.0

func EnsureNewline(w io.Writer) *WriterProxy

func (*WriterProxy) FinalNewline added in v0.6.0

func (wp *WriterProxy) FinalNewline() error

func (*WriterProxy) Write added in v0.6.0

func (wp *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