go-structmapper go-structmapper is a Go library which allows mapping arbitrary structs to maps and vice-versa. Installing To use go-structmapper just add github.com/anexia-it/go-structmapper <version> to your go.mod file.