Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
talpert committed Jun 30, 2017
1 parent a61ceb3 commit 6d8bf28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ results in:
}
```

### Options
**Overwrite** `bool`
If true, overwrite a target value with source value even if it already exists

**ErrorOnUnexported** `bool`
Unexported fields on a struct can not be set. When a struct contains an unexported
field, the default behavior is to treat the entire struct as a single entity and
replace according to Overwrite settings.
If this is enabled, an error will be thrown instead.

### Custom Merge Functions
#### Define a custom merge function for a type:
```go
Expand Down

0 comments on commit 6d8bf28

Please sign in to comment.