Skip to content

Commit f6ccef5

Browse files
authored
Update README.md
1 parent 94e87cb commit f6ccef5

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
## Features
1212

1313
* **configuration outside the struct**
14-
* could be in a different package - separation of concerns
14+
* could be in a different package
1515
* no need to modify original structs (by adding tags, implementing methods etc.)
1616
* **behaviour as a code** - you provide code which will be run during conversion
17-
* ability to **rename keys** during conversion
18-
* ability to **omit keys** based on field name, value or tag etc.
19-
* ability to **map elements** during conversion
17+
* ability to:
18+
* **rename keys** during conversion
19+
* **omit keys** based on field name, value or tag etc.
20+
* **map elements** during conversion
2021

2122
## Installation
2223

@@ -61,6 +62,6 @@ type SomeStruct struct {
6162

6263
1. Take an object which is a struct, map or slice.
6364
2. Traverse entire object looking for nested structs or maps.
64-
3. **Filter** elements (struct fields, map keys)
65-
4. **Rename** field names or map keys
66-
5. **Map** (struct field or map values)
65+
3. **Filter** elements (struct fields and map keys).
66+
4. **Rename** field names or map keys.
67+
5. **Map** (struct field or map values).

0 commit comments

Comments
 (0)