I\'m wondering whether it\'s possible to share test utility code across packages in go. Specifically, I\'m writing a TCP server that will be used by multiple handlers for d
Create a package containing the testing utilities in non _test.go files. A couple of examples of this approach are httptest and iotest.