Ringo
06/30/2022, 10:35 AMerr = mockProvider.ExecuteTest(t, doTestCreateGithubRepo)
With this as definition:
var doTestCreateGithubRepo = func() func(config MockServerConfig) error {
return executeTestCreateGithubRepo("foo")
}()
var executeTestCreateGithubRepo = func(repo string) func(config MockServerConfig) error {
...
}
I would like to have access to t *testing.T
within executeTestCreateGithubRepo
for the test logging functions. How can I do that?