Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 authored Dec 1, 2021
1 parent 9ff1d6e commit 97db320
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# wsllib-go
# wsllib-go
A WSL Library for Golang.

## Usage
Get this package
```
go get github.com/yuk7/wsllib-go
```

## Example
```go
package main

import "github.com/yuk7/wsllib-go"

func main() {
wsllib.WslLaunchInteractive("DistroName", "", true)
}
```

## Notes
WslLaunchInteractive is not used in this library as it causes problems in goroutine.

Instead, a function is defined to connect stdin, stdout, stderr to WslLaunch.

0 comments on commit 97db320

Please sign in to comment.