Go compiler complain about unused variable and imports. So go scripts can’t be run within gwan if any unused var/script is detected.
gwan provide a 404 error in this case if running … or simply can’t be start
There is a way to avoid this behavior?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No really easy way exists. There’s nothing like a compiler flag to turn this behavior off. I guess it’s just better to pass around code which the compiler can swallow in the first place.
EDIT: C/P from the FAQ: Can I stop these complaints about my unused variable/import?