3 ms·
is there a git repo with example code?
by matt_callmann 3y ago
is there a git repo with example code?
- mtlynch 3y agoNot OP, but I design my Go projects with a very similar pattern that I learned from OP's 2018 post. I think this is a pretty good example of a real-world implementation: https://github.com/mtlynch/picoshare https://github.com/mtlynch/picoshare Particularly these files: https://github.com/mtlynch/picoshare/blob/2cd9979dab084ca781e125f725e48297b6e183c1/handlers/server.go https://github.com/mtlynch/picoshare/blob/2cd9979dab084ca781... https://github.com/mtlynch/picoshare/blob/2cd9979dab084ca781e125f725e48297b6e183c1/handlers/routes.go https://github.com/mtlynch/picoshare/blob/2cd9979dab084ca781...
- karolist 3y agoout of curiosity, why no sort-of-established pkg and internal dirs? What do you think of https://github.com/photoprism/photoprism https://github.com/photoprism/photoprism structure?
- mtlynch 3y agoI'm not familiar with that package structure, unfortunately. It might be good, but I'm not sure what the reasons are for structuring the project that way.