Go'nun official tool'u olan modules kullanilacak.
$ go mod vendor
- golint: Formatlama icin
-
Tum testler:
$ go test -v ./api/model/...
-
Tek test dosyasi:
$ go test -v ./api/model/user.go ./api/model/user_test.go
$ go test -covermode count -coverprofile <coverage report name>
$ go tool cover -html=<coverage report name>
$ godoc -http=localhost:6060