Skip to content

Commit 5fded89

Browse files
committed
modified: golang-website-example.txt
1 parent 76b2e43 commit 5fded89

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

golang-website-example.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
[-] load
44

55
# Insyaallah, New tasks:
6+
[] coverage tests
7+
8+
➜ golang-website-example git:(master) ✗ go test -cover
9+
? github.com/ockibagusp/golang-website-example [no test files]
10+
11+
➜ golang-website-example git:(master) ✗ go test ./tests -cover
12+
ok github.com/ockibagusp/golang-website-example/tests 2.827s coverage: [no statements]
13+
14+
➜ golang-website-example git:(master) ✗ go test ./tests -coverpkg=./...
15+
ok github.com/ockibagusp/golang-website-example/tests coverage: 62.6% of statements in ./...
16+
--------
17+
18+
move...
19+
620
[] log file lines (caller), example,
721
{"file": ".../controllers/user_controller.go:76", ...}
822

0 commit comments

Comments
 (0)