This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Tags: mitchellh/pointerstructure
Tags
Adding ValueTransformationHookFn (#10) * Adding a GetHook. * Allow GetHook to run on the top level object being pointed on. * Disallow GetHook to run on the top level object being pointed on. * Rename GetHook to ValueTransormationHook and update doc comments. * Fix a missed rename to ValueTransformationHook in an error message. * Applying comment suggestions.
Return descriptive and comparable errors (#6) * Return descriptive and comparable errors * Make new error handling work pre-go1.13 The code has been refactored that pre-go1.13, the behavior is identical to the way it was before. Tested on go1.15, 1.12 (reverted the updated go.mod to its original state), and 1.7.6 * Revert "Make new error handling work pre-go1.13" This reverts commit 1f54a4f.