util

package
v0.0.0-...-386d234 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileScanner

func NewFileScanner(fullPath string) (*bufio.Scanner, *os.File, error)

NewFileScanner 打开指定文件并返回一个 Scanner, 以准备开始逐行读取文件内容.

func WrapErrors

func WrapErrors(allErrors ...error) (wrapped error)

WrapErrors 把多个错误合并为一个错误.

Types

This section is empty.

Jump to

Keyboard shortcuts

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