Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2017-02-24T02:22:15.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T17:43:32.038Z (8 months ago)
- Topics: go, golang, windows
- Language: Go
- Size: 3.91 KB
- Stars: 9
- Watchers: 3
- 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.