http urls monitor.

Makefile 245B

12345678910111213141516
  1. .PHONY: build test bench vet coverage
  2. build: vet bench
  3. test:
  4. go test -v -cover -race
  5. bench:
  6. go test -v -cover -race -test.bench=. -test.benchmem
  7. vet:
  8. go vet
  9. coverage:
  10. go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out