wu191287278 / noVNC-audio

4 stars 0 forks source link

Import loop with net/x/websocket #5

Closed Sillylittleguy1 closed 6 months ago

Sillylittleguy1 commented 6 months ago

created mod.go with module golang.org/x/net/websocket go run main.go --static ./static --vncAddress localhost:5900 --udpAddress :1234 package command-line-arguments imports golang.org/x/net/websocket imports golang.org/x/net/websocket: import cycle not allowed

my understanding is that two modules are attempting to import each other simultaneously. EDIT: apparently it was in fron of me the entire time; command-line-arguments I think refers to func main(){} ? anyways, i see nothing wrong with the code, so ima hope its not a me thing,

Sillylittleguy1 commented 6 months ago

Solved: when making go.mod file, give it a fake website to call, works fine after that.