Go library for error handling

_percival b02ce06c5a feat(err.go): improved Unwrap method 1 年之前
COPYING 6ce9e4d1dd chore(COPYING): added 3 年之前
README.md 8d1ede3958 docs(README.md): updated 1 年之前
err.go b02ce06c5a feat(err.go): improved Unwrap method 1 年之前
frame.go f1ba2dd97b feat(frame.go): added methods Save and Source 1 年之前
go.mod 64aa8d0dc8 chore({go.mod,go.sum}): updated modules 1 年之前
go.sum 64aa8d0dc8 chore({go.mod,go.sum}): updated modules 1 年之前
output.go b7e10885ff feat(output.go): added the ability to change the input descriptor 1 年之前
print.go 9c96ee42d4 docs(print.go): updated in Print, Printf and Println 1 年之前
report.go fdc911cf9f docs(report.go): updated in Report 1 年之前

README.md

goreport

Table Of Contents

Intro

Go library for error handling.

License

The goreport is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3.

Learn

Module

For more information about the module, use the link.

Use

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()
	}
}

Start

Get

To get, execute the command:

~ $ go get -v notabug.org/_percival/goreport@latest

Update

To update, execute the command:

~ $ go get -u -v notabug.org/_percival/goreport@latest