Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/changelog.Debian.gz |
FileSize | 679 |
MD5 | 42AC13476E4087AED1989871284ED831 |
SHA-1 | 91C495170A774D7F1A87D9900F7B6AAA5032BA03 |
SHA-256 | EAD1AC0523EB040E9B3B89B94E578B80BEAC4DD8E3DE72AC128B8CE4701DA7DE |
SSDEEP | 12:XPEQPe6YkKDonjQms4e7PhQdakGObkID3G3Y7g2ivKGWDy:XsQPY0jQHpSakG1ID3GcKzEy |
TLSH | T1F2018372BE47223266CB4393CEF32EC5C5785063D1004B502D08633E38B8E837C5E656 |
hashlookup:parent-total | 2 |
hashlookup:trust | 60 |
The searched file hash is included in 2 parent files which include package known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileSize | 10332 |
MD5 | 43FEB10906F49F8F83055B0DD28D72A2 |
PackageDescription | Errwrap is a Go (golang) library for wrapping and querying errors errwrap is a package for Go that formalizes the pattern of wrapping errors and checking if an error contains another error. . There is a common pattern in Go of taking a returned error value and then wrapping it (such as with fmt.Errorf) before returning it. The problem with this pattern is that you completely lose the original error structure. . Arguably the correct approach is that you should make a custom structure implementing the error interface, and have the original error as a field on that structure, such as this example. This is a good approach, but you have to know the entire chain of possible rewrapping that happens, when you might just care about one. . errwrap formalizes this pattern (it doesn't matter what approach you use above) by giving a single interface for wrapping errors, checking if a specific error is wrapped, and extracting that error. . This package contains the source. |
PackageMaintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
PackageName | golang-github-hashicorp-errwrap-dev |
PackageSection | devel |
PackageVersion | 1.0.0-1 |
SHA-1 | 7638684D80E102F3E3B775F7637D6B53B6DEBDC7 |
SHA-256 | DA7B92863207AA3939DB993ED1E489CBA8DCBD1CD40EBC69FF363EEB5FA402DC |
Key | Value |
---|---|
FileSize | 10376 |
MD5 | A402F75E7F73158A31A06A0F8DE758D1 |
PackageDescription | Errwrap is a Go (golang) library for wrapping and querying errors errwrap is a package for Go that formalizes the pattern of wrapping errors and checking if an error contains another error. . There is a common pattern in Go of taking a returned error value and then wrapping it (such as with fmt.Errorf) before returning it. The problem with this pattern is that you completely lose the original error structure. . Arguably the correct approach is that you should make a custom structure implementing the error interface, and have the original error as a field on that structure, such as this example. This is a good approach, but you have to know the entire chain of possible rewrapping that happens, when you might just care about one. . errwrap formalizes this pattern (it doesn't matter what approach you use above) by giving a single interface for wrapping errors, checking if a specific error is wrapped, and extracting that error. . This package contains the source. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | golang-github-hashicorp-errwrap-dev |
PackageSection | devel |
PackageVersion | 1.0.0-1 |
SHA-1 | 818D2551537A2A9E373A86FF742BBC5F6A7FB7DF |
SHA-256 | 2E074E49828820147321C1E42B73652794A81C340DBC2E3FA00E339D7BEE4D94 |