cut

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package cut provides "cut" command like filter for NVGD.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cut

type Cut struct {
	filter.Base
	// contains filtered or unexported fields
}

Cut represents cut filter.

func NewCut

func NewCut(r io.ReadCloser, delim []byte, selectors []cutSelector, splitFunc SplitFunc) *Cut

NewCut creates an instance of cut filter.

type SplitFunc

type SplitFunc func(b []byte) [][]byte

Jump to

Keyboard shortcuts

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