Possible solution for http://stackoverflow.com/questions/26320144/golang-goji-how-to-serve-static-content-and-api-at-the-same-time .