Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is really great. It was a fun read. Although I'm wondering why the routing table definition in startServer() here(https://github.com/sosedoff/pgweb/blob/master/main.go#L85) isn't closer to the api.go module. Is this a gin convention or just personal taste?


Author here. Im still new to Go language and the way pgweb is structured is not the best, but it works for now. Pull requests are always welcome!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: