Skip to content

Commit b69e4a9

Browse files
authored
Update README.md
1 parent e8f744e commit b69e4a9

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
# Mergo
22

3-
A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
4-
5-
Mergo merges same-type structs and maps by setting default values in zero-value fields. Mergo won't merge unexported (private) fields. It will do recursively any exported one. It also won't merge structs inside maps (because they are not addressable using Go reflection).
6-
7-
Also a lovely [comune](http://en.wikipedia.org/wiki/Mergo) (municipality) in the Province of Ancona in the Italian region of Marche.
8-
9-
## Status
10-
11-
It is ready for production use. [It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, etc](https://github.com/imdario/mergo#mergo-in-the-wild).
123

134
[![GoDoc][3]][4]
145
[![GitHub release][5]][6]
156
[![GoCard][7]][8]
167
[![Build Status][1]][2]
178
[![Coverage Status][9]][10]
189
[![Sourcegraph][11]][12]
19-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fimdario%2Fmergo.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fimdario%2Fmergo?ref=badge_shield)
10+
[![FOSSA Status][13]][14]
11+
[![GoCenter Kudos][15]][16]
2012

2113
[1]: https://travis-ci.org/imdario/mergo.png
2214
[2]: https://travis-ci.org/imdario/mergo
@@ -30,6 +22,20 @@ It is ready for production use. [It is used in several projects by Docker, Googl
3022
[10]: https://coveralls.io/github/imdario/mergo?branch=master
3123
[11]: https://sourcegraph.com/github.com/imdario/mergo/-/badge.svg
3224
[12]: https://sourcegraph.com/github.com/imdario/mergo?badge
25+
[13]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fimdario%2Fmergo.svg?type=shield
26+
[14]: https://app.fossa.io/projects/git%2Bgithub.com%2Fimdario%2Fmergo?ref=badge_shield
27+
[15]: https://search.gocenter.io/api/ui/badge/github.com%2Fimdario%2Fmergo
28+
[16]: https://search.gocenter.io/github.com/imdario/mergo
29+
30+
A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
31+
32+
Mergo merges same-type structs and maps by setting default values in zero-value fields. Mergo won't merge unexported (private) fields. It will do recursively any exported one. It also won't merge structs inside maps (because they are not addressable using Go reflection).
33+
34+
Also a lovely [comune](http://en.wikipedia.org/wiki/Mergo) (municipality) in the Province of Ancona in the Italian region of Marche.
35+
36+
## Status
37+
38+
It is ready for production use. [It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, etc](https://github.com/imdario/mergo#mergo-in-the-wild).
3339

3440
### Important note
3541

0 commit comments

Comments
 (0)