### What is the path of the package that you would like to have removed?
github.com/terenceodonoghue/golang
### Are you the owner of this package?
Yes
### What is the reason that you could not ...
I just ran djLint on my codebase. It appears that it formats Go template actions by destroying all indentation:
```
{{ range .Choices }}
{{ if .InsertText }}
{{ template "collapsible-code-blo...
<!--
Please answer these questions before submitting your issue. Thanks!
-->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.18.3 darwin/arm64
</pr...
Message from Cherry Mui:
Patch Set 2: Code-Review+2
---
Please don’t reply on this GitHub thread. Visit [golang.org/cl/622075](https://go-review.googlesource.com/c/go/+/622075#message-3df6abf2d57...
> Another function proposal:
>
> ```go
> func Drain[T any](seq iter.Seq[T]) (last T, ok bool) {
> for v := range seq {
> last = v
> ok = true
> }
> return last, ok
> }
> ``...
This is unlikely to get prioritized, since there are a finite number of importers and they are all working as intended. Therefore, this is an unfortunate API, but we probably won't improve it in th...
Unfortunately, no I don't think this is something we can change. Now that we have documented this and worked around the limination, we should close and move on.
I was thinking more along the lines of:
```go
var globalResource sync.Mutex
func TestMyThing(t *testing.T) {
// or Lock() if you want to just sequence the tests
gotLock := globalRe...
@shashank-priyadarshi One useful tip is using goland to debug, I remember there is a test file called fix_test.go, construct a similar test for missing function, and set breakpoints in undeclaredna...
The GNU find command (last I looked) used chdir and cwd-relative operations for traversal, I assume because of some combination of (a) it being faster because it avoids repeatedly parsing the name ...
### Go version
go version go1.22.5 linux/amd64
### Output of `go env` in your module/workspace:
```shell
GO111MODULE='on'
GOARCH='amd64'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='am...
```
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestCheck"
```
Issue created automatically to collect these failures.
Example ([log](https://ci.chromium.or...
```
#!watchflakes
default <- pkg == "golang.org/x/tools/internal/gcimporter" && test == "TestIssue69912"
```
Issue created automatically to collect these failures.
Example ([log](https://ci.chrom...
The Init method has an undocumented postcondition: all elements of the list are now invalid.
It could dynamically assert this condition by adding a counter to every element and to the list itsel...
Message from Keith Randall:
Patch Set 6: Code-Review+1
---
Please don’t reply on this GitHub thread. Visit [golang.org/cl/620855](https://go-review.googlesource.com/c/go/+/620855#message-4ab04e53...
```
#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/codegen/shift.go"
```
Issue created automatically to collect these failures.
Example ([log](https://ci.chromium.org/b/8...
Message from Keith Randall:
Patch Set 2: Code-Review+1
---
Please don’t reply on this GitHub thread. Visit [golang.org/cl/622075](https://go-review.googlesource.com/c/go/+/622075#message-615e0f21...
Message from Keith Randall:
Patch Set 2: Code-Review+2
---
Please don’t reply on this GitHub thread. Visit [golang.org/cl/622075](https://go-review.googlesource.com/c/go/+/622075#message-b0c6ac5c...
Message from Keith Randall:
Patch Set 6: Code-Review+2
---
Please don’t reply on this GitHub thread. Visit [golang.org/cl/620855](https://go-review.googlesource.com/c/go/+/620855#message-e8a1de32...