go 1.18 embeds vcs info into binaries by default [1] allowing us to provide a rudimentary version cmd in just a few lines. (version) vcs tags are not embedded for now - just the commit hash should be good enough for now though. [1] https://tip.golang.org/doc/go1.18
11 lines
246 B
Modula-2
11 lines
246 B
Modula-2
module github.com/niklasfasching/go-org
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/alecthomas/chroma v0.10.0
|
|
github.com/pmezard/go-difflib v1.0.0
|
|
golang.org/x/net v0.0.0-20201224014010-6772e930b67b
|
|
)
|
|
|
|
require github.com/dlclark/regexp2 v1.4.0 // indirect
|