Unit test your golang architecture
Complete examples in archtest_test.go
archtest.Package(t, "github.com/myorg/myproject/....").
ShouldNotDependOn("github.com/some/package")
archtest.Package(t, "github.com/myorg/myproject/....").
ShouldNotDependDirectlyOn("github.com/some/package")
archtest.Package(t, "github.com/myorg/myproject/....").
IncludeTests().
ShouldNotDependDirectlyOn("github.com/some/package")