#First project in go, can i get some feedback?

11 messages · Page 1 of 1 (latest)

sharp trellis
random pulsar
sharp trellis
random pulsar
# sharp trellis That’s on me for sure.. excluding some low-level projects with c, I’ve always be...

it's a very common thing for people coming from other languages. u wanna structure stuff the same way u have been. here's another good resource (I think, I haven't watched it but one of the herders recommended it to someone else so)
https://youtu.be/cAWlv2SeQus?si=RTYiI69VAxPlxN8p

Whether for internal use, or destined for open-source stardom, writing good packages with clean and clear APIs will greatly increase the chance that the code is used and reused. Explore best practices, goals, and idioms that help make beautiful packages.

▶ Play video
#

though this is more for packages rather than the whole of the program. but still applies to subpackages in ur program

sharp trellis
#

Nice, thanks again!

worthy fox
#

I noticed that you are using an HTTP Header for authorization using jwt. If the client is a web-application it is better to save the jwt to a cookie, because a cookie is more secure then localstorage in the browser.

random pulsar
#

in general JWTs make me nervous

sharp trellis