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

https://github.com/sirkon/pubcopy

This package provides a reflect-based copying of values where only public fields of structures to be copied
https://github.com/sirkon/pubcopy

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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

## Usage example

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

}
```