Package explorer
provides access to the Windows Explorer registry.
go get -u github.com/martinveverka/go/windows/explorer
Here is a simple example of getting a current user Pictures folder.
import (
"github.com/martinveverka/go/windows/explorer"
)
path, err := explorer.GetUserShellFolder(explorer.MyPictures)
if err != nil {
panic(err)
}
fmt.Printf("My pictures folder is %q\n", path)