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
Copy file name to clipboardExpand all lines: vendor/dario.cat/mergo/README.md
+46-56Lines changed: 46 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,21 +44,13 @@ Also a lovely [comune](http://en.wikipedia.org/wiki/Mergo) (municipality) in the
44
44
45
45
## Status
46
46
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.
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).
50
48
51
49
### Important notes
52
50
53
51
#### 1.0.0
54
52
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:
In [1.0.0](//github.com/imdario/mergo/releases/tag/1.0.0) Mergo moves to a vanity URL `dario.cat/mergo`.
62
54
63
55
#### 0.3.9
64
56
@@ -72,24 +64,55 @@ If you were using Mergo before April 6th, 2015, please check your project works
72
64
73
65
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:
74
66
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>
75
68
<ahref="https://liberapay.com/dario/donate"><imgalt="Donate using Liberapay"src="https://liberapay.com/assets/widgets/donate.svg"></a>
76
69
<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>
77
70
78
71
### Mergo in the wild
79
72
80
-
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