Cov txheej txheem:

Kuv yuav nruab mus li cas?
Kuv yuav nruab mus li cas?

Video: Kuv yuav nruab mus li cas?

Video: Kuv yuav nruab mus li cas?
Video: Yasmi - Faus Rau Nruab Siab 2024, Hlis ntuj nqeg
Anonim

Download tau cov ntaub ntawv pob, qhib nws, thiab ua raws li cov lus qhia rau nruab tus Mus cuab yeej. Lub pob installs lub Mus faib rau /usr/local/ mus . Lub pob yuav tsum muab tso rau /usr/local/ mus /bin directory hauv koj qhov PATH ib puag ncig hloov pauv. Tej zaum koj yuav tau rov pib dua ib qho kev qhib Terminal rau qhov kev hloov pauv kom siv tau.

Cov lus nug tseem yog, Kuv yuav nruab thiab siv GO li cas?

Ua raws li tsib kauj ruam yooj yim rau nruab Go

  1. Nco ntsoov tias koj muaj Git download thiab Mercurial download tau nruab.
  2. Xyuas kom tseeb tias Go binaries (pom hauv C: Goin) yog nyob rau hauv koj qhov Path system ib puag ncig hloov pauv.
  3. Teeb tsa koj qhov chaw ua haujlwm Go.
  4. Tsim GOPATH ib puag ncig hloov pauv thiab siv koj txoj hauv kev mus ua haujlwm.

Ib tug kuj yuav nug, koj yuav teeb tsa ib puag ncig mus li cas? CEEB TOOM: GOPATH yuav tsum tsis yog tib txoj hauv kev raws li koj qhov Go installation.

  1. Tsim folder ntawm C:go-work.
  2. Txoj nyem rau ntawm "Start" thiab nyem rau ntawm "Control Panel".
  3. Los ntawm cov ntawv qhia zaub mov ntawm sab laug, xaiv "Advanced systems settings".
  4. Nyem qhov "Environment Variables" khawm nyob hauv qab.
  5. Nyem "Tshiab" los ntawm ntu "User variables".

Ib tug kuj yuav nug, kuv tuaj yeem nruab windows 10 li cas?

Yuav ua li cas rau nruab Mus thiab teeb tsa ib cheeb tsam hauv zos Programming ntawm Windows 10

  1. Kauj ruam 1 - Qhib thiab teeb tsa PowerShell.
  2. Kauj Ruam 2 - Txhim kho pob Tus Thawj Tswj Chocolatey.
  3. Kauj ruam 3 - Txhim kho cov ntawv nyeem Nano (yeem)
  4. Kauj ruam 4 - Nruab Go.
  5. Kauj Ruam 5 - Tsim Koj Qhov Chaw Ua Haujlwm Mus Ua Haujlwm.
  6. Kauj Ruam 6 - Tsim Ib Qhov Kev Pabcuam Yooj Yim.

Go workspace yog dab tsi?

A chaw ua haujlwm tsis muaj dab tsi tab sis ib daim ntawv teev npe hauv koj cov ntaub ntawv kaw lus uas nws txoj hauv kev khaws cia hauv ib puag ncig hloov pauv GOPATH. Txhua Mus cov ntaub ntawv qhov chaw belongs rau ib pob. Koj feem ntau tsim subdirectory tshiab hauv koj qhov chaw cia rau txhua qhov sib cais Mus pob. bin: muaj cov binary executables.

Pom zoo: