There is no file algo.go in the repo so I am not sure what you are doing. I just tested cmd/algo with Intellij and it ran fine.
You would be interested in the file cmd/client/main.go to see how to use gocui. > On May 4, 2020, at 10:15 PM, 洪嘉鴻 <max123...@gmail.com> wrote: > > I've downloaded from git clone. > However, there was a message that displayed "use of internal package > github.com/robaho/go-trader/internal/exchange not allowed" with "algo.go". > I'm sure that there does a file "exchange" in the directory. > Therefore, I have no idea what causes the problem and how to edit. > > Thanks for your replying. > Max > > > > > Kurtis Rader於 2020年5月5日星期二 UTC+8上午10時25分05秒寫道: > On Mon, May 4, 2020 at 7:13 PM 洪嘉鴻 <max1...@gmail.com <>> wrote: > I tried to get and install the package <https://github.com/robaho/go-trader>. > However, when I use "go get github.com/robaho/go-trader > <http://github.com/robaho/go-trader>", it displayed "package > github.com/robaho/go-trader <http://github.com/robaho/go-trader>: no Go files > in "$GOPATH\src\github.com <http://github.com/>\robaho\go-trader". > I use 1.12.9 of go version on Windows 10. > Is the version that I used not suitable? > > Works for me. If you're doing that at work there is probably a firewall that > is disrupting the "go get" network traffic. Regardless, since all you want to > do is download the source to review it just do "git clone > https://github.com/robaho/go-trader <http://github.com/robaho/go-trader>". > And if that doesn't work you need to figure out what is wrong with your > connection to the Internet. > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com > <mailto:golang-nuts+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/51c049be-bdd3-468b-9d2a-ec307698fd9b%40googlegroups.com > > <https://groups.google.com/d/msgid/golang-nuts/51c049be-bdd3-468b-9d2a-ec307698fd9b%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/558C97C1-546B-425F-856D-7600591E7F8F%40ix.netcom.com.