actions

package
v0.0.0-...-3c3009f Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CharByCharParse

func CharByCharParse(req ParseRequest) error

func CreateTmpFile

func CreateTmpFile(filePath string) string

func OverwriteInput

func OverwriteInput(input string) error

func Parse

func Parse(inputPath, outputPath string) error

Types

type ParseRequest

type ParseRequest struct {
	InputPath        string
	ListOutputPath   []string
	IsOutputToScreen bool
	Pattern          []string
}

type Parser

type Parser interface {
	Transform(input byte) ([]byte, error)
	Flush() []byte
}

func NewSeqParser

func NewSeqParser(pattern []string) Parser

type Pattern

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

Jump to

Keyboard shortcuts

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