Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 468 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 468 Bytes

errtag

errtag generates error tags that take hierarchical structure into account.

Install

$ go get -u github.com/pi9min/errtag

How to use

Call errtag.ErrorTag()

e.g.

// github.com/foo/bar/cmd/main.go
package main

import (
	"fmt"
	"github.com/pi9min/errtag"
)

func main() {
	fmt.Println(errtag.ErrorTag())
}

The execution result is as follows.

$ go run ./cmd/main.go
main.main

License

See LICENSE