eol

package
v0.0.0-...-4aa4c59 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Unix, DOS, Mac = LF, CRLF, CR

Platform aliases of Mode constants.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode byte

Mode defines end-of-line sequence conventions.

const (
	LF Mode = iota
	CRLF
	CR
)

Constants of enumerated type Mode.

func (Mode) WriteTo

func (m Mode) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo.

Jump to

Keyboard shortcuts

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