An open API service indexing awesome lists of open source software.

https://github.com/twmb/go-mergetyp

Fast arbitrary type merging generated at runtime (minus some exceptions)
https://github.com/twmb/go-mergetyp

Last synced: about 1 year ago
JSON representation

Fast arbitrary type merging generated at runtime (minus some exceptions)

Awesome Lists containing this project

README

          

go-mergetyp
===========

[![GoDoc](https://godoc.org/github.com/twmb/go-mergetyp?status.svg)](https://godoc.org/github.com/twmb/go-mergetyp) [![Build Status](https://travis-ci.org/twmb/go-mergetyp.svg?branch=master)](https://travis-ci.org/twmb/go-mergetyp)

This package provides a function to generate a closure that merges (or zips)
arbitrary types. Merging is defined as adding everything from a right value
into a left value.

Full documentation can be found on [`godoc`](https://godoc.org/github.com/twmb/go-mergetyp).

If you have ideas for configuring how types should be merged, please create an
issue or pull request.