You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the package prefix in examples is clearer than omitting it. Since examples must not make use of unexported functionality anyway, it is always ok to have them in an external test package. Let's move all examples to external test packages.
If Go 1 compatibility didn't prevent it, I'd suggest that we modify the testing package to enforce this.
The text was updated successfully, but these errors were encountered:
This is an extraction from #11254.
Having the package prefix in examples is clearer than omitting it. Since examples must not make use of unexported functionality anyway, it is always ok to have them in an external test package. Let's move all examples to external test packages.
If Go 1 compatibility didn't prevent it, I'd suggest that we modify the testing package to enforce this.
The text was updated successfully, but these errors were encountered: