this post was submitted on 31 Jul 2023
23 points (92.6% liked)

Golang

2218 readers
1 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago

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.