Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/changelog.Debian.gz |
FileSize | 966 |
MD5 | D6A0BA8380D6421971C92120A0E3ECD7 |
SHA-1 | 951E0B42EBFEE06AE85806709BADD00B1C4B193A |
SHA-256 | 12C4C4A14B41E5E441BC3A34A5420B031F12F18DC7806EEA7E7069E8855122F5 |
SSDEEP | 24:Xxu59fHi/I6eEb0piNnK4O9pzNdfWobTJwkF972:XxK9kj0piNK4OfbfWob1R7a |
TLSH | T1D91194C5408A9C9AFE524DA49C9AF5B64ABCBC2006A8175C367298B054B26C495947B2 |
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 | 6168 |
MD5 | B17E4CC5C0E10436D4C5CA78064989E4 |
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 | golang |
PackageVersion | 1.1.0-1 |
SHA-1 | 5A49E6290CE1A2CA9A9D7547341DAD585E4D8F8D |
SHA-256 | 243B0A789F85B199F899E4FC71FCB77D47D4AE24CC64A284C30E3D8F8416AA6E |
Key | Value |
---|---|
FileSize | 6212 |
MD5 | 4D9E15D675A103CE106C6ED3FEFE708A |
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 | golang |
PackageVersion | 1.1.0-1 |
SHA-1 | 38FFFE90963A1E8CE659D81DCA41CA6EC468EC4F |
SHA-256 | 3F0B989036CA0664755E76C165095404B024C1DEB2593A831B335E287C69ECD7 |