Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.