file

package
v0.0.0-...-161ecb4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const BufferSize = 1000000

Variables

This section is empty.

Functions

func Copy

func Copy(inputFile, outputFile string) error

func CopyBig

func CopyBig(inputFile, outputFile string) error

func CopyShell

func CopyShell(input, output string, isDir bool) error

func CreateDir

func CreateDir(path string) error

func IsExist

func IsExist(path string) (bool, error)

func ReadLineAt

func ReadLineAt(file string, index int64) (string, error)

func RemoveShell

func RemoveShell(filePath string, isDir bool) error

func Replace

func Replace(inputFile, outputFile string, replace map[string]string) error

func ReplaceBig

func ReplaceBig(inputFile, outputFile string, replace map[string]string) error

func SaveCsv

func SaveCsv(fileName string, header []string, data [][]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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