File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ linter:
1515 golangci-lint run
1616
1717test : security
18- go test -cover ./...
18+ go test -v -timeout 30s -coverprofile=cover.out -cover ./...
19+ go tool cover -func=cover.out
1920
2021build : clean test
2122 CGO_ENABLED=0 go build -ldflags=" -w -s" -o $(BUILD_DIR ) /$(APP_NAME ) main.go
Original file line number Diff line number Diff line change @@ -31,25 +31,25 @@ cgapp create
3131make 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
You can’t perform that action at this time.
0 commit comments