golang

go doc Run web server: godoc -http=localhost:8888 -index -links View web server: http://localhost:8888 Tip: Add ?m=all to URL to show unexported types, funcs, etc. go test Run all tests: Run all tests: go test ./... Run all tests in package: go test modulename/pkg/packagename/ Run all tests in file: go test path/to/file_test.go Run subset of tests: Run function tests: go test path/to/file_test.go -run FUNCTION_TEST_NAME Run a single test in function tests: go test path/to/file_test....