Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ dist/
.env
.env.*
!.env.example
research/**/*.md
tips.md
.idea/
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/Godojo.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/copilot.data.migration.agent.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/vcs.xml

This file was deleted.

5 changes: 5 additions & 0 deletions apps/web/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export default defineConfig({
maxHeadingLevel: 3,
},
head: [
// Vercel Analytics
{
tag: 'script',
attrs: { defer: true, src: '/_vercel/insights/script.js' },
},
// Open Graph
{
tag: 'meta',
Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dependencies": {
"@astrojs/starlight": "^0.30.0",
"@astrojs/vercel": "^9.0.2",
"@vercel/analytics": "^1.6.1",
"astro": "^5.0.0",
"sharp": "^0.33.0"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
835 changes: 835 additions & 0 deletions apps/web/src/content/docs/en/compile-and-run.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/src/content/docs/en/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Key variables:
| `GOPATH` | Working directory | `~/go` |
| `GOBIN` | Path for binaries | `~/go/bin` |

## First Programme
## First Program

Let's create a simple programme to verify the installation:

Expand Down
5 changes: 4 additions & 1 deletion apps/web/src/content/docs/en/program-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -857,5 +857,8 @@ Now you know what a Go programme is made of. In the next lesson we'll cover **co
<span class="lesson-nav-label">← Previous</span>
<span class="lesson-nav-title">Hello World</span>
</a>
<div></div>
<a href="/en/compile-and-run/" class="lesson-nav-link" style="text-align: right;">
<span class="lesson-nav-label">Next →</span>
<span class="lesson-nav-title">Compile and Run</span>
</a>
</nav>
835 changes: 835 additions & 0 deletions apps/web/src/content/docs/ru/compile-and-run.md

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion apps/web/src/content/docs/ru/program-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -868,5 +868,8 @@ func main() {
<span class="lesson-nav-label">← Предыдущий</span>
<span class="lesson-nav-title">Hello World</span>
</a>
<div></div>
<a href="/ru/compile-and-run/" class="lesson-nav-link" style="text-align: right;">
<span class="lesson-nav-label">Следующий →</span>
<span class="lesson-nav-title">Компиляция и запуск</span>
</a>
</nav>
7 changes: 7 additions & 0 deletions apps/web/src/data/sidebar-unified.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@
"en": "Program Structure"
},
"slug": "program-structure"
},
{
"label": "Компиляция и запуск",
"translations": {
"en": "Compile and Run"
},
"slug": "compile-and-run"
}
]
}
Expand Down
8 changes: 8 additions & 0 deletions apps/web/src/data/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{
"label": "Структура программы",
"link": "/ru/program-structure/"
},
{
"label": "Компиляция и запуск",
"link": "/ru/compile-and-run/"
}
]
}
Expand Down Expand Up @@ -61,6 +65,10 @@
{
"label": "Program Structure",
"link": "/en/program-structure/"
},
{
"label": "Compile and Run",
"link": "/en/compile-and-run/"
}
]
}
Expand Down
10 changes: 10 additions & 0 deletions apps/web/src/data/toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"slug": "program-structure",
"title": "Структура программы",
"number": "1.5"
},
{
"slug": "compile-and-run",
"title": "Компиляция и запуск",
"number": "1.6"
}
]
}
Expand Down Expand Up @@ -68,6 +73,11 @@
"slug": "program-structure",
"title": "Program Structure",
"number": "1.5"
},
{
"slug": "compile-and-run",
"title": "Compile and Run",
"number": "1.6"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion books/go-language-en/content/01-intro/03-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Key variables:
| `GOPATH` | Working directory | `~/go` |
| `GOBIN` | Path for binaries | `~/go/bin` |

## First Programme
## First Program

Let's create a simple programme to verify the installation:

Expand Down
Loading