Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed go get (deleted repo) #7

Merged
merged 4 commits into from
Dec 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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