Skip to content
  • This project
    • Loading...
  • Sign in

张磊 / FileStorageBeego

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • FileStorageBeego
  • utils
  • file.go
  • skyblue's avatar
    initial utils dir · 830ccb66
    skyblue committed 2013-12-09 13:30:19 +0800
    830ccb66
file.go 127 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
package utils

import (
	"os"
	"path/filepath"
)

func SelfPath() string {
	path, _ := filepath.Abs(os.Args[0])
	return path
}