You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnvalue, fmt.Errorf("ControlPlaneTopologyMode %s is not valid; valid options are External, HighlyAvailable, HighlyAvailableArbiter, DualReplica or SingleReplica", value)
Copy file name to clipboardExpand all lines: vendor/dario.cat/mergo/README.md
+56-46
Original file line number
Diff line number
Diff line change
@@ -44,13 +44,21 @@ Also a lovely [comune](http://en.wikipedia.org/wiki/Mergo) (municipality) in the
44
44
45
45
## Status
46
46
47
-
It is ready for production use. [It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, Microsoft, etc](https://github.com/imdario/mergo#mergo-in-the-wild).
47
+
Mergo is stable and frozen, ready for production. Check a short list of the projects using at large scale it [here](https://github.com/imdario/mergo#mergo-in-the-wild).
48
+
49
+
No new features are accepted. They will be considered for a future v2 that improves the implementation and fixes bugs for corner cases.
48
50
49
51
### Important notes
50
52
51
53
#### 1.0.0
52
54
53
-
In [1.0.0](//github.com/imdario/mergo/releases/tag/1.0.0) Mergo moves to a vanity URL `dario.cat/mergo`.
55
+
In [1.0.0](//github.com/imdario/mergo/releases/tag/1.0.0) Mergo moves to a vanity URL `dario.cat/mergo`. No more v1 versions will be released.
56
+
57
+
If the vanity URL is causing issues in your project due to a dependency pulling Mergo - it isn't a direct dependency in your project - it is recommended to use [replace](https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive) to pin the version to the last one with the old import URL:
@@ -64,55 +72,24 @@ If you were using Mergo before April 6th, 2015, please check your project works
64
72
65
73
If Mergo is useful to you, consider buying me a coffee, a beer, or making a monthly donation to allow me to keep building great free software. :heart_eyes:
66
74
67
-
<ahref='https://ko-fi.com/B0B58839'target='_blank'><imgheight='36'style='border:0px;height:36px;'src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=0'border='0'alt='Buy Me a Coffee at ko-fi.com' /></a>
68
75
<ahref="https://liberapay.com/dario/donate"><imgalt="Donate using Liberapay"src="https://liberapay.com/assets/widgets/donate.svg"></a>
69
76
<ahref='https://github.com/sponsors/imdario'target='_blank'><imgalt="Become my sponsor"src="https://img.shields.io/github/sponsors/imdario?style=for-the-badge" /></a>
Mergo is used by [thousands](https://deps.dev/go/dario.cat%2Fmergo/v1.0.0/dependents)[of](https://deps.dev/go/github.com%2Fimdario%2Fmergo/v0.3.16/dependents)[projects](https://deps.dev/go/github.com%2Fimdario%2Fmergo/v0.3.12), including:
Additionally, you can map a `map[string]interface{}` to a struct (and otherwise, from struct to map), following the same restrictions as in `Merge()`. Keys are capitalized to find each corresponding exported field.
0 commit comments