Skip to content

Commit 8d9d16d

Browse files
committed
update README file
1 parent f38f34c commit 8d9d16d

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ func UserRowsMapper(rows *sql.Rows) interface{} {
163163
go build datasource/datasource.go
164164
go build mapper/rowsmapper.go
165165
go build template/gdbcTemplate.go
166+
167+
# or
168+
169+
go build ./...
166170
```
167171

168172
### run test
@@ -221,14 +225,19 @@ mockery -r -all
221225
1. remove dependency on github.com/guoapeng/props to only rely on sql.datasource
222226
2. support sqlite
223227

224-
225228
## trouble shooting
226229

227230
1. cannot find module
228231
in case you encountered the issue:
232+
233+
```bash
229234
$ go build
230235
build .: cannot find module for path .
236+
```
231237

232238
solution:
233239
replace the go build command like
234-
$ go build mapper/rowsmapper.go
240+
241+
```bash
242+
go build mapper/rowsmapper.go
243+
```

0 commit comments

Comments
 (0)