使用pillow而不是pil
The following worked for me on Ubuntu 14.04.1 64 bit: sudo apt-get install libfreetype6-dev Then, in the virtualenv: pip uninstall pillow pip install --no-cache-dir pillow
func some(a, b int, c string) (val string, err error) { | |
// stuff | |
} | |
select { | |
case val, err :=<- go some(5,12, "hey"): | |
// stuff | |
case val, err :=<- go some(65, 535, "port"): | |
// stuff | |
} |