config validation
This commit is contained in:
parent
9ae6af8856
commit
a8d5787e8e
11 changed files with 911 additions and 17 deletions
|
|
@ -5,7 +5,7 @@ import "runtime/debug"
|
|||
// Build-time parameters set via -ldflags
|
||||
var Version = "unknown"
|
||||
|
||||
// A user may install pug using `go install github.com/leg100/pug@latest`
|
||||
// A user may install pug using `go install github.com/kujtimiihoxha/opencode@latest`.
|
||||
// without -ldflags, in which case the version above is unset. As a workaround
|
||||
// we use the embedded build version that *is* set when using `go install` (and
|
||||
// is only set for `go install` and not for `go build`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue