xcaddy/cmd/xcaddy
Jayson Reis 4f3e0ef756
Fix main.go generation when executing on a windows machine (#32)
* Fix main.go generation when executing on a windows machine

When normalizing the `importPath` it will try to write on `main.go` files with imports
like `github.com/caddyserver/xcaddy/c:\xcaddy`

* Apply CR suggestions

* Add test cases for sub-paths on normalizeImportPath

* Run windows tests only when GOOS matches
2020-09-25 17:39:48 -06:00
..
main.go Fix main.go generation when executing on a windows machine (#32) 2020-09-25 17:39:48 -06:00
main_test.go Fix main.go generation when executing on a windows machine (#32) 2020-09-25 17:39:48 -06:00