axgle / app

get Go's app informations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go's app informations

install

go get github.com/axgle/app

app.Path: Returns the full path of the running executable as reported by the system. Includes the executable image name.

package main
import "github.com/axgle/app"

func main(){
  execPath,err:=app.Path()
  if(err!=nil){
	println("fail get the path")
   }
  println(execPath) 
}

About

get Go's app informations


Languages

Language:Go 96.4%Language:Batchfile 3.6%