From 6d8bf28ef41e071a719091d42f66954c437b4aed Mon Sep 17 00:00:00 2001 From: Tatsuro Alpert Date: Fri, 30 Jun 2017 08:11:07 -0700 Subject: [PATCH] docs --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d4673ba..843f253 100644 --- a/README.md +++ b/README.md @@ -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