This adds support for runnables to Go.
It adds the following tasks:
- `go test $ZED_GO_PACKAGE -run $ZED_SYMBOL`
- `go test $ZED_GO_PACKAGE`
- `go test ./...`
- `go run $ZED_GO_PACKAGE` if it has a `main` function
Release Notes:
- Added built-in Go runnables and tasks that allow users to run Go test
functions, test packages, or run `main` functions.
Demo:
https://github.com/zed-industries/zed/assets/1185253/a6271d80-faf4-466a-bf63-efbec8fe6c35
https://github.com/zed-industries/zed/assets/1185253/92f2b616-7501-463d-b613-1ec1084ae0cd
8168ec2a28Thorsten Ball committed on 5/22/2024, 5:18:49 AM· committed by GitHubparente5b9e20