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
@ -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.
`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.
@ -38,7 +38,7 @@ import (
"fmt"
"log"
"github.com/onyx-and-iris/voicemeeter-api-go"
"github.com/onyx-and-iris/voicemeeter"
)
func main() {

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ import (
"log"
"strings"
"github.com/onyx-and-iris/voicemeeter-api-go"
"github.com/onyx-and-iris/voicemeeter"
)
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
retract (
// package files moved into root of repository
[v1.0.0, v1.1.0]
)
retract [v1.0.0, v1.1.0]
require (
github.com/stretchr/testify v1.8.0

View File

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