util

package
v0.7.35 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextReadSeekCloser added in v0.3.1

func NewContextReadSeekCloser(ctx context.Context, r io.ReadSeekCloser) io.ReadSeekCloser

func PrettyTitleCase added in v0.7.23

func PrettyTitleCase(name string) string

Returns the (english) string title cased, with minor words (a, an, and, of, on, the, to) lowercased unless they are the first word of the string

func ReadCString added in v0.7.0

func ReadCString(r io.Reader) (*string, error)

func ReadCStringWithSkip added in v0.7.13

func ReadCStringWithSkip(r io.Reader) (*string, error)

Types

type SectionReadSeeker

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

func NewSectionReadSeeker

func NewSectionReadSeeker(r io.ReadSeeker, off int64, n int64) (*SectionReadSeeker, error)

func (*SectionReadSeeker) Read

func (r *SectionReadSeeker) Read(p []byte) (n int, err error)

func (*SectionReadSeeker) Seek

func (r *SectionReadSeeker) Seek(offset int64, whence int) (int64, error)

Jump to

Keyboard shortcuts

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