add golang to path

To add Go (Golang) to the path, follow these steps:

  1. Open the Start Search, type in "env", and choose "Edit the system environment variables" from the search results.

  2. In the System Properties window, click on the "Environment Variables..." button.

  3. In the Environment Variables window, under the "System variables" section, select the "Path" variable and click "Edit..."

  4. Click "New" and add the path to the Go installation directory. For example, "C:\Go\bin".

  5. Click "OK" on all the windows to save the changes.

  6. Open a new Command Prompt window and type "go version" to verify that Go has been added to the path successfully.