Documentation
¶
Index ¶
- func FileExists(filename string) (bool, error)
- func Map2Struct(data, result any) error
- func Poe(err error)
- func ReadLineByLine(fileName string, lineHandle func(line []byte) error) error
- func ReadLineByLine0(fileName string, lineHandle func(line []byte) error, maxLineSize int, ...) error
- type JsonGet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func Map2Struct ¶
func Poe ¶
func Poe(err error)
Poe 如果有错误,则 panic 并终止程序。 If there is an error, panic and terminate the program.
func ReadLineByLine ¶
Types ¶
type JsonGet ¶
type JsonGet struct {
Obj any
// contains filtered or unexported fields
}
func NewJsonGet ¶
Click to show internal directories.
Click to hide internal directories.