https://github.com/theherk/winpath
winpath is just a small, simple tool to get Windows paths.
https://github.com/theherk/winpath
go golang windows
Last synced: 8 months ago
JSON representation
winpath is just a small, simple tool to get Windows paths.
- Host: GitHub
- URL: https://github.com/theherk/winpath
- Owner: theherk
- Created: 2017-02-24T02:16:01.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2017-02-24T02:22:15.000Z (over 9 years ago)
- Last Synced: 2025-03-27T21:52:12.833Z (over 1 year ago)
- Topics: go, golang, windows
- Language: Go
- Size: 3.91 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
winpath
=======
winpath is just a small, simple tool to get Windows paths. It simply abstracts a few calls to the registry to return the current value of a few strings.
Installation
------------
go get github.com/theherk/winpath
Usage
-----
``` go
import (
"fmt"
"github.com/theherk/winpath"
)
func main() {
p, _ := winpath.AppData()
fmt.Println(p)
}
```
### Testing
make test
### Build for all architectures and systems.
make clean all
Yep, that's it. Feel free to add any common paths to this library.