1
- # go-model [ ![ Build Status] ( https://travis-ci.org/jeevatkm/go-model.svg?branch=master )] ( https://travis-ci.org/jeevatkm/go-model ) [ ![ codecov] ( https://codecov.io/gh/jeevatkm/go-model/branch/master/graph/badge.svg )] ( https://codecov.io/gh/jeevatkm/go-model/branch/master ) [ ![ GoReport] ( https://goreportcard.com/badge/jeevatkm/go-model )] ( https://goreportcard.com/report/jeevatkm/go-model ) [ ![ GoDoc] ( https://godoc.org/github.com/jeevatkm/go-model?status.svg )] ( https://godoc.org/github.com/jeevatkm/go-model ) [ ![ License] ( https://img.shields.io/badge /license-MIT-blue .svg )] ( LICENSE )
1
+ # go-model [ ![ Stability: Sustained ] ( https://masterminds.github.io/stability/sustained.svg )] ( https://masterminds.github.io/stability/sustained.html ) [ ![ Build Status] ( https://travis-ci.org/jeevatkm/go-model.svg?branch=master )] ( https://travis-ci.org/jeevatkm/go-model ) [ ![ codecov] ( https://codecov.io/gh/jeevatkm/go-model/branch/master/graph/badge.svg )] ( https://codecov.io/gh/jeevatkm/go-model/branch/master ) [ ![ GoReport] ( https://goreportcard.com/badge/jeevatkm/go-model )] ( https://goreportcard.com/report/jeevatkm/go-model ) [ ![ Version ] ( https://img.shields.io/badge/version-1.0-blue.svg )] ( https://github.com/jeevatkm/go-model/releases/latest ) [ ![ GoDoc] ( https://godoc.org/github.com/jeevatkm/go-model?status.svg )] ( https://godoc.org/github.com/jeevatkm/go-model ) [ ![ License] ( https://img.shields.io/github /license/jeevatkm/go-model .svg )] ( LICENSE )
2
2
3
3
Robust & Easy to use model mapper and utility methods for Go ` struct ` . Typical methods increase productivity and make Go development more fun :smile :
4
4
5
- *** v0.5 [ released] ( https://github.com/jeevatkm/go-model/releases/latest ) and tagged on Jan 02 , 2017***
5
+ *** v1.0 [ released] ( https://github.com/jeevatkm/go-model/releases/latest ) and tagged on May 22 , 2017***
6
6
7
7
go-model tested with Go ` v1.2 ` and above.
8
8
@@ -20,29 +20,37 @@ go-model library provides [handy methods](#supported-methods) to process `struct
20
20
* Get or Set by individual field name on struct
21
21
* Add global no traverse type to the list or use ` notraverse ` option in the struct field
22
22
* Options to name map key, omit empty fields, and instruct not to traverse with struct/map/slice
23
- * Conversions between mixed non-pointer types
23
+ * Conversions between mixed non-pointer types - add custom conversation method, refer to usage
24
24
25
25
## Installation
26
26
27
- #### Stable - Release Version
27
+ #### Stable Version - Production Ready
28
28
Please refer section [ Versioning] ( #versioning ) for detailed info.
29
29
30
30
``` sh
31
31
# install the library
32
- go get -u gopkg.in/jeevatkm/go-model.v0
32
+ go get -u gopkg.in/jeevatkm/go-model.v1
33
33
```
34
34
35
- #### Latest
35
+ #### Latest Version - Development Edge
36
36
``` sh
37
37
# install the latest & greatest library
38
38
go get -u github.com/jeevatkm/go-model
39
39
```
40
40
41
+ ## It might interest you :)
42
+
43
+ go-model author also published following projects to Go Community.
44
+
45
+ * [ aah framework] ( https://aahframework.org ) - Web and API framework for Go.
46
+ * [ go-resty] ( https://github.com/go-resty/resty ) - Simple HTTP and REST client for Go.
47
+
48
+
41
49
## Usage
42
50
Import go-model into your code and refer it as ` model ` . Have a look on [ model test cases] ( model_test.go ) to know more possibilities.
43
51
``` go
44
52
import (
45
- " gopkg.in/jeevatkm/go-model.v0 "
53
+ " gopkg.in/jeevatkm/go-model.v1 "
46
54
)
47
55
```
48
56
0 commit comments