Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/copyright |
FileSize | 682 |
MD5 | 2B98198D765F069B17907F45A46A512A |
SHA-1 | 17CFF727434C485902ECAFA37F2600DB6FDEFD2E |
SHA-256 | 3D8886216A6DA4412B08B3D18247F4913F8EAEC4B7938EBED0C04C4D14A1F04D |
SSDEEP | 12:mpeJ8Jq4KU620SZc8f+rYT1ArmssK8XxUG7nAyhZa:gttPWGsm1ArmNtnAyHa |
TLSH | T1B501FEAA6A8C52BE43C06B83FF72614EE30339A82515E2E8C0D984226A1182351E05EC |
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 |