go-argmapper
go-argmapper copied to clipboard
A runtime dependency-injection library for Go that supports automatically chaining conversion functions to reach desired input and output types.
By using the `DryRun()` option with a call, argmapper will noop all the converter or target function calls. This can be used to verify that given a set of inputs,...
@mitchellh this is a WIP, wanted to get your take on the UX and in general.
This is a more comprehensive fix which was originally provided in #9 and then reverted. It includes the original failing tests which cause a cycle in the converters. There's two...
This is the reverse of the usage of `argmapper.Struct` embedding. I'd like to be able to let users pass a struct and then take all the exported fields of the...
This is possibly covered on `Redefine` and I may not understand the use case exactly, but I'm trying to figure out if there is a way to assert that the...
Hi there 👋 This PR was auto-generated as part of an internal review of public repositories that are not in compliance with HashiCorp's licensing standards. **Frequently Asked Questions** Why am...