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

Constructive recommendations: - add tests (I couldn't find a simple _test.go file) - relative imports aren't recommended in Go (pkgs like "sorcia/model") - please rethink/avoid global (package) variables like middlewareDB (https://git.mysticmode.org/r/sorcia/tree/master/middleware/m...) - avoid adding logic in the init() functions - screenshots?


All of those seem fine aside from logic in init() functions. In particular, not sure how global variables in someone else's code impacts you.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: