On Sun, Dec 18, 2016 at 1:51 PM, Henry <henry.adisuma...@gmail.com> wrote: > I have reusable test utilities in a project. They are used by various > packages in the project for testing purposes, and at the same time I don't > want to expose these utilities as public APIs. Since it is impossible to > import another test package in Go, I wonder what would be the best way to > package these utilities.
It sounds like you want an internal package. See https://golang.org/s/go14internal -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.