structutil: github.com/mariadesouza/structutil Index | Files

package structutil

import "github.com/mariadesouza/structutil"

Index

Package Files

structutil.go

func CopyToStringStruct Uses

func CopyToStringStruct(src interface{}, dest interface{})

CopyToStringStruct : Copies src struct fields to dest struct Both src and dest structs have elements with same names but different types

func StructToMap Uses

func StructToMap(v interface{}) *map[string]interface{}

StructToMap : returns a map of names to values for struct passed .

Package structutil imports 1 packages (graph). Updated 2017-09-10. Refresh now. Tools for package owners.