Instance Logo

solidarite.social

Bernard Chhun (he/him) . @bchhun,

#GoLang ahh got it !

✅ added a go.mod file at the root of my project to declare the current project as a module; I can then reuse the module name to import code in there
✅ created folders with a single *.go file in it; it's seen as a package that I can import from that point on.

I can now call functions from subfolders at my project's root ! 🥳

Open thread