Go library for error handling

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

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