I have a file called example.go
and another test file called example_test.go
and they are both in the same package. I would like to test some unexported functions in example.go
When I run the test, the unexported functions are undefined in example_test.go
. I am wondering what is the best convention of testing unexported functions in a test file that are in the same package?