Skip to content

Commit 12a6320

Browse files
authored
Merge pull request #22 from create-go-app/dev
Update dependencies
2 parents 7493ddf + 8ce6d8e commit 12a6320

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
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

0 commit comments

Comments
 (0)