Skip to content

NoUseFreak/go-vembed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Vembed

Vembed simplifies embedding a version into a binary.

Example

This example show how to use vembed.

package main

import (
	"fmt"

	"github.com/NoUseFreak/go-vembed"
)

func main() {
	fmt.Printf(
		"%s, build %s",
		vembed.Version.GetGitSummary(),
		vembed.Version.GetGitCommit(),
	)
}

Build

go get github.com/NoUseFreak/go-vembed/vembed
go build -ldflags="`vembed`" main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages