rename dir structure to match package name

update examples, readme
This commit is contained in:
onyx-and-iris 2022-09-22 22:55:08 +01:00
parent a5f653f569
commit 8a9b5f9a97
7 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,4 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/onyx-and-iris/voicemeeter-api-go.svg)](https://pkg.go.dev/github.com/onyx-and-iris/voicemeeter-api-go) [![Go Reference](https://pkg.go.dev/badge/github.com/onyx-and-iris/voicemeeter.svg)](https://pkg.go.dev/github.com/onyx-and-iris/voicemeeter)
# A Go Wrapper for Voicemeeter API # A Go Wrapper for Voicemeeter API
@ -23,7 +23,7 @@ For an outline of past/future changes refer to: [CHANGELOG](CHANGELOG.md)
Install voicemeeter-api-go package from your console to download the latest version. Install voicemeeter-api-go package from your console to download the latest version.
`go get github.com/onyx-and-iris/voicemeeter-api-go` `go get github.com/onyx-and-iris/voicemeeter`
or add it to your `go.mod` file. or add it to your `go.mod` file.
@ -38,7 +38,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/onyx-and-iris/voicemeeter-api-go" "github.com/onyx-and-iris/voicemeeter"
) )
func main() { func main() {

View File

@ -5,7 +5,7 @@ import (
"log" "log"
"github.com/eiannone/keyboard" "github.com/eiannone/keyboard"
"github.com/onyx-and-iris/voicemeeter-api-go" "github.com/onyx-and-iris/voicemeeter"
) )
func main() { func main() {

View File

@ -6,7 +6,7 @@ import (
"os" "os"
"time" "time"
"github.com/onyx-and-iris/voicemeeter-api-go" "github.com/onyx-and-iris/voicemeeter"
"github.com/andreykaipov/goobs" "github.com/andreykaipov/goobs"
"github.com/andreykaipov/goobs/api/events" "github.com/andreykaipov/goobs/api/events"

View File

@ -5,7 +5,7 @@ import (
"log" "log"
"time" "time"
"github.com/onyx-and-iris/voicemeeter-api-go" "github.com/onyx-and-iris/voicemeeter"
) )
// observer represents a single receiver of updates // observer represents a single receiver of updates

View File

@ -6,7 +6,7 @@ import (
"log" "log"
"strings" "strings"
"github.com/onyx-and-iris/voicemeeter-api-go" "github.com/onyx-and-iris/voicemeeter"
) )
func main() { func main() {

6
go.mod
View File

@ -1,11 +1,9 @@
module github.com/onyx-and-iris/voicemeeter-api-go module github.com/onyx-and-iris/voicemeeter
go 1.18 go 1.18
retract (
// package files moved into root of repository // package files moved into root of repository
[v1.0.0, v1.1.0] retract [v1.0.0, v1.1.0]
)
require ( require (
github.com/stretchr/testify v1.8.0 github.com/stretchr/testify v1.8.0

View File

@ -4,7 +4,7 @@ import (
"log" "log"
"testing" "testing"
"github.com/onyx-and-iris/voicemeeter-api-go" "github.com/onyx-and-iris/voicemeeter"
) )
var ( var (