Hyperledger Fabric Chaincode在执行期间面临错误

I am getting an error in my Go code import statements. I am attaching the code and the error I got in vscode. Kindly help me to identify the issue. I think there is some problem with my Go installation so I am also providing a screenshot of exception which I am getting while opening the Ubuntu on my VM. Please help me to rectify this exception as well. Many thanks in advance. enter image description hereenter image description here

From the looks of things, there's a syntax error in your .profile on line 21. This looks to be attempting to add the /usr/local/go/bin to your PATH possibly? This might explain things since the go executables are not on your PATH.

First, make sure Go is installed in /usr/local/go:

$ ls /usr/local/go
AUTHORS     LICENSE     VERSION     blog        lib     robots.txt
CONTRIBUTING.md PATENTS     api     doc     misc        src
CONTRIBUTORS    README.md   bin     favicon.ico pkg     test

If running ls /usr/local/go returns the same output as above, then you should have something like the following in your ~/.profile:

export PATH=$PATH:~/:/usr/local/bin:/usr/local/go/bin:.