Skip to content

Commit 8ce6d8e

Browse files
committed
Update dependencies
1 parent 546fa2c commit 8ce6d8e

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ linter:
1515
golangci-lint run
1616

1717
test: security
18-
go test -cover ./...
18+
go test -v -timeout 30s -coverprofile=cover.out -cover ./...
19+
go tool cover -func=cover.out
1920

2021
build: clean test
2122
CGO_ENABLED=0 go build -ldflags="-w -s" -o $(BUILD_DIR)/$(APP_NAME) main.go

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ cgapp create
3131
make docker.run
3232
```
3333

34-
5. Go to API Docs page (Swagger): [0.0.0.0:5000/swagger/index.html](http://0.0.0.0:5000/swagger/index.html)
34+
5. Go to API Docs page (Swagger): [127.0.0.1:5000/swagger/index.html](http://127.0.0.1:5000/swagger/index.html)
3535

3636
![Screenshot](https://user-images.githubusercontent.com/11155743/112716623-76bc0800-8ef8-11eb-80db-48edcbdacf36.png)
3737

3838
## 📦 Used packages
3939

4040
| Name | Version | Type |
4141
| --------------------------------------------------------------------- | --------- | ---------- |
42-
| [net/http](https://golang.org/pkg/net/http/) | `v1.16.2` | core |
42+
| [net/http](https://golang.org/pkg/net/http/) | `v1.16.4` | core |
4343
| [auth0/go-jwt-middleware](https://github.com/auth0/go-jwt-middleware) | `v1.0.0` | middleware |
4444
| [swaggo/http-swagger](https://github.com/swaggo/http-swagger) | `v1.0.0` | middleware |
4545
| [stretchr/testify](https://github.com/stretchr/testify) | `v1.7.0` | tests |
4646
| [dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go) | `v3.2.0` | auth |
4747
| [joho/godotenv](https://github.com/joho/godotenv) | `v1.3.0` | config |
48-
| [jmoiron/sqlx](https://github.com/jmoiron/sqlx) | `v1.3.3` | database |
48+
| [jmoiron/sqlx](https://github.com/jmoiron/sqlx) | `v1.3.4` | database |
4949
| [jackc/pgx](https://github.com/jackc/pgx) | `v4.11.0` | database |
5050
| [swaggo/swag](https://github.com/swaggo/swag) | `v1.7.0` | utils |
5151
| [google/uuid](https://github.com/google/uuid) | `v1.2.0` | utils |
52-
| [go-playground/validator](https://github.com/go-playground/validator) | `v10.6.0` | utils |
52+
| [go-playground/validator](https://github.com/go-playground/validator) | `v10.6.1` | utils |
5353

5454
## 🗄 Template structure
5555

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ require (
66
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
77
github.com/auth0/go-jwt-middleware v1.0.0
88
github.com/dgrijalva/jwt-go v3.2.0+incompatible
9-
github.com/go-playground/validator/v10 v10.6.0
9+
github.com/go-playground/validator/v10 v10.6.1
1010
github.com/google/uuid v1.2.0
1111
github.com/gorilla/mux v1.8.0
1212
github.com/jackc/pgx/v4 v4.11.0
13-
github.com/jmoiron/sqlx v1.3.3
13+
github.com/jmoiron/sqlx v1.3.4
1414
github.com/joho/godotenv v1.3.0
1515
github.com/swaggo/http-swagger v1.0.0
1616
github.com/swaggo/swag v1.7.0

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8c
101101
github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
102102
github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no=
103103
github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
104-
github.com/go-playground/validator/v10 v10.6.0 h1:UGIt4xR++fD9QrBOoo/ascJfGe3AGHEB9s6COnss4Rk=
105-
github.com/go-playground/validator/v10 v10.6.0/go.mod h1:xm76BBt941f7yWdGnI2DVPFFg1UK3YY04qifoXU3lOk=
104+
github.com/go-playground/validator/v10 v10.6.1 h1:W6TRDXt4WcWp4c4nf/G+6BkGdhiIo0k417gfr+V6u4I=
105+
github.com/go-playground/validator/v10 v10.6.1/go.mod h1:xm76BBt941f7yWdGnI2DVPFFg1UK3YY04qifoXU3lOk=
106106
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
107107
github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs=
108108
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
@@ -221,8 +221,8 @@ github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dv
221221
github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
222222
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
223223
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
224-
github.com/jmoiron/sqlx v1.3.3 h1:j82X0bf7oQ27XeqxicSZsTU5suPwKElg3oyxNn43iTk=
225-
github.com/jmoiron/sqlx v1.3.3/go.mod h1:2BljVx/86SuTyjE+aPYlHCTNvZrnJXghYGpNiXLBMCQ=
224+
github.com/jmoiron/sqlx v1.3.4 h1:wv+0IJZfL5z0uZoUjlpKgHkgaFSYD+r9CfrXjEXsO7w=
225+
github.com/jmoiron/sqlx v1.3.4/go.mod h1:2BljVx/86SuTyjE+aPYlHCTNvZrnJXghYGpNiXLBMCQ=
226226
github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=
227227
github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
228228
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=

0 commit comments

Comments
 (0)