Add a script to your users continuous integration tool or even to their 
source control management.
Whenever software is compiled or commited your script will search for 
imports in Go source files.
If your script finds a forbidden package it should flag an error with a 
friendly message like this:

"You are NOT supposed to write full blown Go, but only Daniel's NearlyGo, 
that nowadays disallows importing package X, for your own good. In case you 
get angry please take out your pants and jump vigorously stepping on it 
again and again until you have your rage diminished somewhat. Only then, 
contact Daniel."


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d4982fb3-7c7c-4c6b-b7c1-5e9d9f9cba80%40googlegroups.com.

Reply via email to