I didn't run "go build". The message was displayed under the problem of Visual Studio Code. However, the message was disappeared after I restart the source code.
Thank you very much! Max Kurtis Rader於 2020年5月5日星期二 UTC+8上午11時33分15秒寫道: > > On Mon, May 4, 2020 at 8:15 PM 洪嘉鴻 <max1...@gmail.com <javascript:>> > 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. >> > > There is no way that "git clone" produced that error message. You need to > tell us what command you ran that resulted in that error. However, I > suspect you ran "go build" or something similar. My suggestion to run "git > clone" was predicated on you wanting to just review the source code; not > build it. If you want to be able to build it, and import it into other > projects, then you need to figure out why "go get" doesn't work on your > system. > > -- > 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6ae3cf71-61fc-47ce-a41a-bb4386387b55%40googlegroups.com.