moutend / go-wca

Pure golang bindings for Windows Core Audio API. The `cgo` is not required.
MIT License
106 stars 27 forks source link

problem building app #5

Open MirkoUgoliniDev opened 3 years ago

MirkoUgoliniDev commented 3 years ago

Hello ,

What version of Go are you using (go version)? image

What operating system and processor architecture are you using (go env)? image

What did you do? I'm using go-wca inside persona project

I use Visual studio code as IDE

but in the building phase go build -o bin/hello I got:

What did you expect to see? app build without problem

What did you see instead? go: finding module for package github.com/moutend/go-wca ....\pkg\mod\github.com\talkkonnect\volume-go@v0.0.0-20200223011643-173f1ce653ed\volume_windows.go:8:2: module github.com/moutend/go-wca@latest found (v0.2.0), but does not contain package github.com/moutend/go-wca

thanks in advance

janekjan commented 3 years ago

I think you are trying to import "github.com/moutend/go-wca" instead of import "github.com/moutend/go-wca/pkg/wca". I guess you have solved the problem after such a long time, but I hope somebody finds it useful.

emmaly commented 3 weeks ago

I think you are trying to import "github.com/moutend/go-wca" instead of import "github.com/moutend/go-wca/pkg/wca". I guess you have solved the problem after such a long time, but I hope somebody finds it useful.

This is absolutely right. @MirkoUgoliniDev if this issue is no longer outstanding, I recommend closing this issue, or updating it to reflect current state if it does persist. ❤️