Skip to content

Commit b847c2f

Browse files
authored
chore: ignore unnecessary package. (#81)
1 parent 9fdcf0f commit b847c2f

24 files changed

+37
-168
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ fmt-check:
3030
fi;
3131

3232
test: fmt-check
33-
@$(GO) test -v -cover -coverprofile coverage.txt $(PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
33+
@$(GO) test -v -cover -coverprofile coverage.txt ./... && echo "\n==>\033[32m Ok\033[m\n" || exit 1
3434

3535
vet:
36-
$(GO) vet $(PACKAGES)
36+
$(GO) vet ./...
3737

3838
lint:
3939
@hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
@@ -46,7 +46,7 @@ misspell-check:
4646
@hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
4747
$(GO) get -u github.com/client9/misspell/cmd/misspell; \
4848
fi
49-
misspell -error $(GOFILES)
49+
misspell -error ./...
5050

5151
.PHONY: misspell
5252
misspell:

README.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -422,18 +422,12 @@ func TestUploadFileByContent(t *testing.T) {
422422

423423
## Example
424424

425-
* Basic HTTP Router: [basic.go](example/basic.go), [basic_test.go](example/basic_test.go)
426-
* Gin Framework: [gin.go](example/gin.go), [gin_test.go](example/gin_test.go)
427-
* Echo Framework: [echo.go](example/echo.go), [echo_test.go](example/echo_test.go)
428-
* Mux Framework: [mux.go](example/mux.go), [mux_test.go](example/mux_test.go)
429-
* HttpRouter Framework: [httprouter.go](example/httprouter.go), [httprouter_test.go](example/httprouter_test.go)
430-
* Beego Framework: [beego.go](example/beego.go), [beego_test.go](example/beego_test.go)
431-
432-
## Testing
433-
434-
```
435-
$ make
436-
```
425+
* Basic HTTP Router: [basic.go](_example/basic.go), [basic_test.go](_example/basic_test.go)
426+
* Gin Framework: [gin.go](_example/gin.go), [gin_test.go](_example/gin_test.go)
427+
* Echo Framework: [echo.go](_example/echo.go), [echo_test.go](_example/echo_test.go)
428+
* Mux Framework: [mux.go](_example/mux.go), [mux_test.go](_example/mux_test.go)
429+
* HttpRouter Framework: [httprouter.go](_example/httprouter.go), [httprouter_test.go](_example/httprouter_test.go)
430+
* Beego Framework: [beego.go](_example/beego.go), [beego_test.go](_example/beego_test.go)
437431

438432
## License
439433

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

example/echo.go renamed to _example/echo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package example
33
import (
44
"net/http"
55

6-
"github.com/labstack/echo"
6+
"github.com/labstack/echo/v4"
77
)
88

99
func echoHelloHandler() echo.HandlerFunc {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)