internal

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualOrPrefix

func EqualOrPrefix(acceptedLang, offeredLang string) bool

func EqualOrWildcard

func EqualOrWildcard(accepted, offered string) bool

func Split1

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

Types

type WriterProxy

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

func EnsureNewline

func EnsureNewline(w io.Writer) *WriterProxy

func (*WriterProxy) FinalNewline

func (wp *WriterProxy) FinalNewline() error

func (*WriterProxy) Write

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