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: README.md
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Robust & Easy to use model mapper and model utility methods for Go. Typical meth
5
5
go-model tested with Go `v1.2` and above.
6
6
7
7
## Features
8
-
go-model provides handy methods to process struct with below highlighted features. It's born from typical need while developing Go application or utility. I hope it's helpful!
8
+
go-model provides handy methods (`Copy`, `Map`, `IsZero`, etc.) to process struct with below highlighted features. It's born from typical need while developing Go application or utility. I hope it's helpful!
There are scenarios, you want object values but not to traverse/look inside the struct object. Use `notraverse` option in the model tag for those fieds or Add it `NoTraverseTypeList`. Customize it as per your need.
95
+
There are scenarios, where you want the object values but not to traverse/look inside the struct object. Use `notraverse` option in the model tag for those fields or Add it `NoTraverseTypeList`. Customize it as per your need.
97
96
98
97
Default `NoTraverseTypeList` has these types `time.Time{}`, `&time.Time{}`, `os.File{}`, `&os.File{}`, `http.Request{}`, `&http.Request{}`, `http.Response{}`, `&http.Response{}`.
99
98
```go
100
-
// If you have added your type into list then you no need to mention `notraverse` option for those types.
99
+
// If you have added your type into list then you need not mention `notraverse` option for those types.
go-model releases versions according to [Semantic Versioning](http://semver.org)
111
110
112
-
`gopkg.in/jeevatkm/go-model.vX` points to appropriate tag versions; `X` denotes version number and it's a stable release. It's recommended to use version, for eg. `gopkg.in/jeevatkm/go-model.v0`. Development takes place at the master branch. Althought the code in master should always compile and test successfully, it might break API's. We aim to maintain backwards compatibility, but API's and behaviour might be changed to fix a bug.
111
+
`gopkg.in/jeevatkm/go-model.vX` points to appropriate tag versions; `X` denotes version number and it's a stable release. It's recommended to use version, for eg. `gopkg.in/jeevatkm/go-model.v0`. Development takes place at the master branch. Although the code in master should always compile and test successfully, it might break API's. We aim to maintain backwards compatibility, but API's and behaviour might be changed to fix a bug.
113
112
114
113
## Contributing
115
-
Welcome! If you find any improvement or issue you want to fix. Feel free to send a pull request, I like pull requests that include tests case for fix/enhancement. Did my best to bring pretty good code coverage and feel free to write tests.
114
+
Welcome! If you find any improvement or issue you want to fix, feel free to send a pull request. I like pull requests that include test cases for fix/enhancement. I have done my best to bring pretty good code coverage. Feel free to write tests.
116
115
117
116
BTW, I'd like to know what you think about go-model. Kindly open an issue or send me an email; it'd mean a lot to me.
0 commit comments