deckard@lemmy.ndlug.org to Golang@programming.devEnglish · 1 year agoExperimenting with project templatesgo.devexternal-linkmessage-square3fedilinkarrow-up123arrow-down11file-textcross-posted to: golang
arrow-up122arrow-down1external-linkExperimenting with project templatesgo.devdeckard@lemmy.ndlug.org to Golang@programming.devEnglish · 1 year agomessage-square3fedilinkfile-textcross-posted to: golang
Today we published gonew, an experimental tool for instantiating new projects in Go from predefined templates. $ go install golang.org/x/tools/cmd/gonew@latest
minus-squaretedu@azorius.netlinkfedilinkarrow-up3·1 year agoI usually forget something basic like “package main” when starting with a totally blank file, which isn’t hard to fix, but is probably frustrating when you’re just looking at a syntax error with no experience.
I usually forget something basic like “package main” when starting with a totally blank file, which isn’t hard to fix, but is probably frustrating when you’re just looking at a syntax error with no experience.