Get app's build go compiler info、build os info、build vcs info and startup time.
$ go get -d github.com/xiaosongfu/meta-go
import github.com/xiaosongfu/meta-go
package in the go file of main
func located. for example:
package main
import (
"github.com/xiaosongfu/meta-go"
)
func main() {
meta.Println()
}
if no funcs of this package is used, please use import _ "github.com/xiaosongfu/meta-go"
instead.
func Meta() *META
: Return theMETA
instance's pointer.func Text() string
: Return a formatted string of theMETA
instance.func Println()
: Print the result ofText()
func to stdout.