How to save changes in golang

I just started Golang course, while doing lab, I edit the code but dont know how to save changes. please anyone help

Hi @mc130201884

While using VSCode within the lab env, you can use CTRL+s to save the changes made. Please keep this guide handy while using VS Code in KodeKloud labs.

Regards.

thanks
but I have another issue
please see screenshot attached. go run main.go does not show result

Hi @mc130201884

The main.go file is located in the /root/code/sample-project. So the command would be go run ./sample-project/main.go.

Additionally, I recommend taking a moment to read the question carefully, as it often contains important details that can help clarify the context.

Regards.

Hi

while doin labs in golang— variables

how to solve the q 4. because lab does not allow to do copy paste here.