Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/copyright |
FileSize | 16793 |
MD5 | 39D41123AC4C100609E34FCC4007AB9B |
SHA-1 | F59FC6D6E81386750D21EAFE8D7053E163B89A39 |
SHA-256 | 2B1065DC8B312DC2A7CAD0BC70F22C2E983F3B0649F20FD416796DB2A762FF5A |
SSDEEP | 384:WOm0V3oRi+4bWdZgK8VCXZWzNYFOrZYmDwd9klgWaV:WU3k4XNvrZXDwZWaV |
TLSH | T1D87253BF3B4813731AC212A65F57649BE31AA03E76791075708C812C2F9B96443FB6F9 |
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 | 9692 |
MD5 | 5EE7ACAC1B651C9945F0A69BE703D09D |
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 <pkg-go-maintainers@lists.alioth.debian.org> |
PackageName | golang-github-hashicorp-errwrap-dev |
PackageSection | devel |
PackageVersion | 0.0~git20141028.0.7554cd9-1 |
SHA-1 | EF97C67A3CCF933A6AC56A100925A23DC09D400B |
SHA-256 | A449BCEF7ABAA43E1E292C780104351EA00CFECB3196B0B7A263164D683DE8AE |
Key | Value |
---|---|
FileSize | 9720 |
MD5 | 15B88F365F22E37DDB2BDBA0AF28CD1F |
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 | 0.0~git20141028.0.7554cd9-1 |
SHA-1 | 8E4FDBC9018156BDCD13CE9E77C3727379440C5C |
SHA-256 | 4F25CA286FA0D56E63B2D9F16E1A799CB3EDC447FF394C0F0AC1F20D6BCBA103 |