Closed
Description
I dont have go modules in my project (in $GOPATH/src) and trying to fill a struct in a _test.go file, the struct is defined in the same package but not in the _test.go file.
I always get the message:
fillstruct: no struct literal found at selection
When i rollback to commit 654d0ba struct filling in the _test file is working.
client.go :
type X struct {
Somevalue bool
}
client_test.go:
func TestClient_DoSomeTest(t *testing.T) {
x := X{} // problem filling struct
}
Metadata
Metadata
Assignees
Labels
No labels