mirror of
https://github.com/imjasonh/version
synced 2026-07-07 22:35:20 +00:00
embed main version too
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
cc70df27de
commit
993c9c191e
3 changed files with 25 additions and 11 deletions
11
cmd/example/main.go
Normal file
11
cmd/example/main.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/imjasonh/version"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(version.Get())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue