use test.Testing() to replace the intest build tag
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
Go 1.21 provide a `test.Testing()` function, we can use it to replace the `go build -tags intest`
Ref https://github.com/golang/go/issues/52600
Contributor guide
Assessment
This issue has not been assessed yet.