|
1 年之前 | |
---|---|---|
COPYING | 3 年之前 | |
README.md | 1 年之前 | |
err.go | 1 年之前 | |
frame.go | 1 年之前 | |
go.mod | 1 年之前 | |
go.sum | 1 年之前 | |
output.go | 1 年之前 | |
print.go | 1 年之前 | |
report.go | 1 年之前 |
Table Of Contents
Go library for error handling.
The goreport is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3.
For more information about the module, use the link.
Create Report and print by adding a prefix:
func testReport() goreport.Report {
return goreport.New("test")
}
func main() {
if r := testReport(); !r.IsNil() {
r.Append(" * ").Println()
}
}
To get, execute the command:
~ $ go get -v notabug.org/_percival/goreport@latest
To update, execute the command:
~ $ go get -u -v notabug.org/_percival/goreport@latest