Skip to content

Commit

Permalink
Merge pull request #7 from packet-sent/master
Browse files Browse the repository at this point in the history
Fixed go get (deleted repo)
  • Loading branch information
luisiturrios1 committed Dec 23, 2021
2 parents 89dcf1a + 611f55b commit 32e90a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
gowin
=====

Provide simple Windows OS interface to manipulate windows registry, environment variables, default paths and windows services from Golang lenguaje
Provide a simple Windows OS interface to manipulate Windows registry, environment variables, default paths and Windows services with Golang.

###How to use it
### How to use it
```
go get github.com/luisiturrios/gowin
```
Expand All @@ -13,7 +13,7 @@ Provide simple Windows OS interface to manipulate windows registry, environment
```


###Example write, read, remove windows registry key
### Example write, read & removing windows registry keys
```
// Write string on the registry require admin privileges
err = gowin.WriteStringReg("HKLM",`Software\iturrios\gowin`,"value","Hello world")
Expand Down Expand Up @@ -51,9 +51,9 @@ Provide simple Windows OS interface to manipulate windows registry, environment
```
###Example Read windows ShellFolders
### Example reading windows ShellFolders
```
folders := gowin.ShellFolders{gowin.ALL}
folders := gowin.ShellFolders{Context: gowin.ALL}
// Or
folder := new(gowin.ShellFolders)
Expand All @@ -77,7 +77,7 @@ Provide simple Windows OS interface to manipulate windows registry, environment
folders.StartMenuPrograms()
```

###Example Read windows environment variables
### Example reading windows environment variables

```
// Get environment var
Expand Down
2 changes: 1 addition & 1 deletion registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"syscall"
"unsafe"

"code.google.com/p/winsvc/winapi"
"github.com/btcsuite/winsvc/winapi"
)

// TODO: Solve error in query DWORD registry
Expand Down

0 comments on commit 32e90a1

Please sign in to comment.