Package list golang-github-imdario-mergo / 7deb9a0c-95ac-4160-873f-958ff2a9142a/main issue100_test.go
7deb9a0c-95ac-4160-873f-958ff2a9142a/main

Tree @7deb9a0c-95ac-4160-873f-958ff2a9142a/main (Download .tar.gz)

issue100_test.go @7deb9a0c-95ac-4160-873f-958ff2a9142a/main

0f692b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package mergo_test

import (
	"testing"

	"github.com/imdario/mergo"
)

type issue100s struct {
	Member interface{}
}

func TestIssue100(t *testing.T) {
	m := make(map[string]interface{})
	m["Member"] = "anything"

	st := &issue100s{}
	if err := mergo.Map(st, m); err != nil {
		t.Error(err)
	}
}