ovw

package module
v0.0.0-...-e440c71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2017 License: MIT Imports: 3 Imported by: 1

README

ovw

Build Status GitHub license Go Report Card

Merge two structs, and overwrite fields when necessary

Why created

To make creating struct for tests easier.

Example

Installation

go get -u github.com/achiku/ovw

Contributing

Pull requests for new features, bug fixes, and suggestions are welcome!

Install gom

This project is using gom for dependency management.

$ go get -u github.com/mattn/gom
$ gom install
Test
$ go test -v

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeOverwrite

func MergeOverwrite(to, from, dst interface{}) error

MergeOverwrite overwrite map

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL