8000 GitHub - davidwalter0/go-build
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

davidwalter0/go-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-build-info

enable with an include and use the helper go-build-info to run go build and go install commands to inject the builds environment

package main

import (
        "fmt"
        "os"

        "github.com/davidwalter0/go-build"
)

func init() {
        fmt.Fprintf(os.Stderr, "\nBuildinfo for %s\n\n", os.Args[0])
        build.BuildInfo()
}
func main() {
}
cd cmd/example
go-build-info go build 

cd cmd/example
ls -l
./build-info-example 2>&1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published
0