如何在Windows中启动并运行Github应用“ vehicle-tracker-api”

I strived to get up and running the Github repository vehicle-tracker-api on my box (Windows 8 professional 64 bits) but can't get it right till now...

I followed all the steps as stated in the readme.md but stumbled.

To fix miscalleanous issues that occured despite sticking properly to the instructions, I managed to install lacking dependencies I identified:

  1. Mingw-W64 (explicit)
  2. Swagger 2.0 (not very sure of it, there might be another better option I doubt but it did the business).

It seems that my troubles lie in the 2 remaining directives in main.go knowing the first one is fixed so far

//go:generate swagger generate spec -o data/swagger.json
//go:generate rm -rf statik/statik.go
//go:generate statik -src data/
package main

Launching

go generate

yieds the following error message

main.go:2: running "rm": exec: "rm" : executable not found in %PATH%

Question:

What should I do to get it up and running in Windows?

Flimzy pointed out in the comment thread below that the build process try to execute the unix-likerm command, so

Is there a way to rewrite the platform dependent directive //go:generate rm -rf statik/statik.go into the Windows manner.