Skip to content
/ pubcopy Public

This package provides a reflect-based copying of values where only public fields of structures to be copied

License

Notifications You must be signed in to change notification settings

sirkon/pubcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PubCopy

This package provides a reflect-based copying of values where only public fields of structures to be copied

Usage example

if err := pubcopy.Copy(src, dst, pubcopy.PublicOnly); err != nil {
    …
}

About

This package provides a reflect-based copying of values where only public fields of structures to be copied

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages