You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error logging in: error during login: error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {} Originally posted by @hrizal in #170 (comment)
Using the latest version of go-whatsapp. I am not getting qrcode on terminal with your recommened package for printing on console. Please guide me how I can get the qrcode
I've write this in main.go file and calling this function in main function. The print message in go routing is printing in the console but qrcode is not. I also used the sync package for waiting but nothing is happen.
funcstartConnection() {
wac, err:=whatsapp.NewConn(20*time.Second)
iferr!=nil {
panic(err)
}
qrChan:=make(chanstring)
// Goroutine is too print qrcode for session logingofunc() {
fmt.Println("Print Qrcode on Terminal Started Execution")
terminal:=qrcodeTerminal.New()
terminal.Get(<-qrChan).Print()
}()
sess, loginErr:=wac.Login(qrChan)
ifloginErr!=nil {
fmt.Println("error during login: ", loginErr)
return
}
fmt.Println("Login Session", sess)
}
Using the latest version of go-whatsapp. I am not getting qrcode on terminal with your recommened package for printing on console. Please guide me how I can get the qrcode
I've write this in main.go file and calling this function in main function. The print message in go routing is printing in the console but qrcode is not. I also used the sync package for waiting but nothing is happen.
And this is my go.mod file
The text was updated successfully, but these errors were encountered: