This program can be used to quickly get started with a "program of the day" in the Go language.
It does the following:
- Create a directory named
<homedirectory>prog_of_the_day/yyyymmdd[-n]
. Version numbern
is appended as needed. - Create files to get going (main.go with "hello world" code, go.mod, go.sum, vscode debug launch file)
- Init Git
- Open the new folder in Visual Studio Code
To install dailyprog from source:
- Install Go
- Execute (in a shell window):
go install github.com/524D/dailyprog@latest
The dailyprog
executable will now be in <homedirectory>/go/bin/dailyprog