Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hmarui66/errwrapped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

errwrapped

errwrapped checks for code returning errors that are not wrapped by any wrapper library.

Install

go get -u github.com/hmarui66/errwrapped/cmd/errwrapped

Use

errwrapped ./...

Options

Wrapper library

Use the -wrapper flag to specify a wrapper library or function.

errwrapped -wrapper xerrors ./...

If not specified, errors is specified by default.

Ignore files

Use the -ignore flag to specify ignore file name patterns.

errwrapped -ignore vendors/,_test.go,/mock_ ./...

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors