how to do unit test for golang within vscode
how to do unit test for golang within vscode
if the “run test” or “debug test” button is missing from abolve of Test function,
you should check:
- the UT file should be **_test.go like below:
- the UT function should be start with Test**
- you should import “testing” in this module