Answer the question
In order to leave comments, you need to log in
Error: package ....... is not in GOROOT. How to decide?
I decided to try examples from github.
Initially, the library was imported from github.
Sort of like this:
import (
"context"
"errors"
"strconv"
"strings"
"github.com/adshao/go-binance"
)
import (
"context"
"errors"
"strconv"
"strings"
"NeuroBot/binance/binance_2.2"
)
Answer the question
In order to leave comments, you need to log in
It is better to install the package as written in its instructions.
Execute on the command line
go get github.com/adshao/go-binance/v2
Well, then import like this
import (
"github.com/adshao/go-binance/v2"
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question