Fix formatting on portuguese golang index.md (#27123)
* Remove whitespaces and fix indentation * Other fixes to match english version
This commit is contained in:
committed by
Randell Dawson
parent
d5046d6e82
commit
38a6e56a7f
@ -1,8 +1,8 @@
|
||||
---
|
||||
title: Go
|
||||
localeTitle: Ir
|
||||
localeTitle: Go
|
||||
---
|
||||
## Ir
|
||||
## Go
|
||||
|
||||

|
||||
|
||||
@ -12,18 +12,20 @@ Para mais informações, [acesse a página da Go](https://golang.org/)
|
||||
|
||||
Quer um rápido [Tour de Go?](https://tour.golang.org/welcome/1)
|
||||
|
||||
## \## Pré-instalações:
|
||||
## Pré-instalações:
|
||||
---------
|
||||
|
||||
#### Instale Golang com o Homebrew:
|
||||
|
||||
```bash
|
||||
$ brew update
|
||||
$ brew install golang
|
||||
$ brew install golang
|
||||
```
|
||||
|
||||
#### Quando instalado, tente executar a versão go para ver a versão instalada do Go.
|
||||
|
||||
## \### Configure o espaço de trabalho:
|
||||
### Configure o espaço de trabalho:
|
||||
------
|
||||
|
||||
##### Adicionar variáveis de ambiente:
|
||||
|
||||
@ -43,20 +45,21 @@ em seguida, adicione essas linhas para exportar as variáveis necessárias
|
||||
|
||||
```bash
|
||||
export GOPATH=$HOME/go-workspace # don't forget to change your path correctly!
|
||||
export GOROOT=/usr/local/opt/go/libexec
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
export GOROOT=/usr/local/opt/go/libexec
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
```
|
||||
|
||||
## \#### Crie seu espaço de trabalho:
|
||||
#### Crie seu espaço de trabalho:
|
||||
--------
|
||||
|
||||
##### Crie a árvore de diretórios do espaço de trabalho:
|
||||
|
||||
```bash
|
||||
$ mkdir -p $GOPATH $GOPATH/src $GOPATH/pkg $GOPATH/bin
|
||||
$GOPATH/src : Where your Go projects / programs are located
|
||||
$GOPATH/pkg : contains every package objects
|
||||
$GOPATH/bin : The compiled binaries home
|
||||
$GOPATH/src : Where your Go projects / programs are located
|
||||
$GOPATH/pkg : contains every package objects
|
||||
$GOPATH/bin : The compiled binaries home
|
||||
```
|
||||
|
||||
### Começo rápido
|
||||
@ -66,24 +69,24 @@ Para um início rápido e clichê Ir projeto, tente [liga](https://www.growthmet
|
||||
1. Repositório Clone Alloy
|
||||
```
|
||||
git clone https://github.com/olliecoleman/alloy
|
||||
cd alloy
|
||||
cd alloy
|
||||
```
|
||||
|
||||
2. Instale as dependências
|
||||
```
|
||||
glide install
|
||||
npm install
|
||||
npm install
|
||||
```
|
||||
|
||||
3. Inicie o servidor de desenvolvimento
|
||||
```
|
||||
go install
|
||||
alloy dev
|
||||
alloy dev
|
||||
```
|
||||
|
||||
4. Visite o site em `http://localhost:1212`
|
||||
|
||||
_Alloy usa Node, NPM e Webpack_
|
||||
*Alloy usa Node, NPM e Webpack*
|
||||
|
||||
### Vá ao Playground
|
||||
|
||||
|
Reference in New Issue
Block a user