waigani/GoOracle — pull request #11 by liuhewei (2014-11-25 10:11:37+00:00)
Title: add support for windows

Hi @waigani ,

I added the support for windows. Codes are simple, just to let it work, and not affect OSX/linux part. Modified places:
- stdout encoding is changed to 'cp936' not 'utf-8' in windows
- Regex for auto-locating oracle output message is fixed: Windows path includes `:`, so the regex can't use `[^:]+`, I changed it to `.+\.go`
- Regex for matching file path in oracle result syntax-color theme file is fixed: the same reason as above
- Command string for Windows: only for gopath and goroot
- GOPATH supports multiple paths under Windows: The GOPATH environment variable under windows need follow the format as: `"path1";"path2";...`

After this change, the GOPATH settings support multiple paths, for example:
```json
"GoOracle":
{
"env":
{
"GOPATH": "D:\\Codes\\gocode\\huaweitech;D:\\Codes\\gocode\\huaweitech\\src\\github.com\\cloudfoundry\\cli/Godeps/_workspace",
"GOROOT": "D:\\Tools\\Golang",
},
// other settings
}
```

Hope it could help guys having the same requirements with me. So please check it if you have time :)