Merge remote-tracking branch 'origin/master'

# Conflicts:
#	public/index.html
#	tools/generate.go
This commit is contained in:
badkaktus 2019-10-14 23:21:08 +03:00
commit 2d56321f92
74 changed files with 2636 additions and 20 deletions

4
public/defer generated
View File

@ -14,7 +14,7 @@
if (e.key == "ArrowRight") {
window.location.href = 'collection-functions';
window.location.href = 'функции-коллекции-(collection-functions)';
}
}
@ -204,7 +204,7 @@
<p class="next">
Следующий пример: <a href="collection-functions">Функции коллекции (Collection Functions)</a>.
Следующий пример: <a href="функции-коллекции-(collection-functions)">Функции коллекции (Collection Functions)</a>.
</p>
<p class="footer">

6
public/epoch generated
View File

@ -9,12 +9,12 @@
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'time';
window.location.href = 'время-(time)';
}
if (e.key == "ArrowRight") {
window.location.href = 'time-formatting-parsing';
window.location.href = 'форматирование-времени-(time-formatting-parsing)';
}
}
@ -167,7 +167,7 @@ Unixtime в соответствующее <code>время</code>.</p>
<p class="next">
Следующий пример: <a href="time-formatting-parsing">Форматирование времени (Time Formatting / Parsing)</a>.
Следующий пример: <a href="форматирование-времени-(time-formatting-parsing)">Форматирование времени (Time Formatting / Parsing)</a>.
</p>
<p class="footer">

4
public/hello-world generated
View File

@ -10,7 +10,7 @@
if (e.key == "ArrowRight") {
window.location.href = 'values';
window.location.href = 'типы-данных-(values)';
}
}
@ -126,7 +126,7 @@ learn more about the language.</p>
<p class="next">
Следующий пример: <a href="values">Типы данных (Values)</a>.
Следующий пример: <a href="типы-данных-(values)">Типы данных (Values)</a>.
</p>
<p class="footer">

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: HTTP клиенты (HTTP Clients)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'переменные-среды-(environment-variables)';
}
if (e.key == "ArrowRight") {
window.location.href = 'http-серверы-(http-servers)';
}
}
</script>
<body>
<div class="example" id="http-клиенты-(http-clients)">
<h2><a href="./">Go в примерах</a>: HTTP клиенты (HTTP Clients)</h2>
<p class="next">
Следующий пример: <a href="http-серверы-(http-servers)">HTTP серверы (HTTP Servers)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/http-клиенты-(http-clients)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: HTTP серверы (HTTP Servers)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'http-клиенты-(http-clients)';
}
if (e.key == "ArrowRight") {
window.location.href = 'порождающие-процессы-(spawning-processes)';
}
}
</script>
<body>
<div class="example" id="http-серверы-(http-servers)">
<h2><a href="./">Go в примерах</a>: HTTP серверы (HTTP Servers)</h2>
<p class="next">
Следующий пример: <a href="порождающие-процессы-(spawning-processes)">Порождающие процессы (Spawning Processes)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/http-серверы-(http-servers)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

2
public/if-else generated
View File

@ -9,7 +9,7 @@
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'for';
window.location.href = 'цикл-for';
}

2
public/json generated
View File

@ -9,7 +9,7 @@
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'regular-expressions';
window.location.href = 'регулярные-выражения-(regular-expressions)';
}

2
public/panic generated
View File

@ -9,7 +9,7 @@
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'sorting-by-functions';
window.location.href = 'сортировка-через-функции-(sorting-by-functions)';
}

6
public/select generated
View File

@ -9,12 +9,12 @@
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'channel-directions';
window.location.href = 'направления-канала-(channel-directions)';
}
if (e.key == "ArrowRight") {
window.location.href = 'timeouts';
window.location.href = 'тайм-ауты-(timeouts)';
}
}
@ -176,7 +176,7 @@
<p class="next">
Следующий пример: <a href="timeouts">Тайм-ауты (Timeouts)</a>.
Следующий пример: <a href="тайм-ауты-(timeouts)">Тайм-ауты (Timeouts)</a>.
</p>
<p class="footer">

4
public/switch generated
View File

@ -14,7 +14,7 @@
if (e.key == "ArrowRight") {
window.location.href = 'arrays';
window.location.href = 'массивы-(arrays)';
}
}
@ -193,7 +193,7 @@
<p class="next">
Следующий пример: <a href="arrays">Массивы (Arrays)</a>.
Следующий пример: <a href="массивы-(arrays)">Массивы (Arrays)</a>.
</p>
<p class="footer">

6
public/waitgroups generated
View File

@ -9,12 +9,12 @@
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'worker-pools';
window.location.href = 'пулы-воркеров-(worker-pools)';
}
if (e.key == "ArrowRight") {
window.location.href = 'rate-limiting';
window.location.href = 'ограничение-скорости-(rate-limiting)';
}
}
@ -210,7 +210,7 @@
<p class="next">
Следующий пример: <a href="rate-limiting">Ограничение скорости (Rate Limiting)</a>.
Следующий пример: <a href="ограничение-скорости-(rate-limiting)">Ограничение скорости (Rate Limiting)</a>.
</p>
<p class="footer">

4
public/xml generated
View File

@ -14,7 +14,7 @@
if (e.key == "ArrowRight") {
window.location.href = 'time';
window.location.href = 'время-(time)';
}
}
@ -272,7 +272,7 @@ XML-подобных форматов с пакетом <code>encoding.xml</code
<p class="next">
Следующий пример: <a href="time">Время (Time)</a>.
Следующий пример: <a href="время-(time)">Время (Time)</a>.
</p>
<p class="footer">

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Аргументы командной строки (Command-Line Arguments)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'тестирование-(testing)';
}
if (e.key == "ArrowRight") {
window.location.href = 'флаги-командной-строки-(command-line-flags)';
}
}
</script>
<body>
<div class="example" id="аргументы-командной-строки-(command-line-arguments)">
<h2><a href="./">Go в примерах</a>: Аргументы командной строки (Command-Line Arguments)</h2>
<p class="next">
Следующий пример: <a href="флаги-командной-строки-(command-line-flags)">Флаги командной строки (Command-Line Flags)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/аргументы-командной-строки-(command-line-arguments)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Атомарные счетчики (Atomic Counters)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'ограничение-скорости-(rate-limiting)';
}
if (e.key == "ArrowRight") {
window.location.href = 'мьютексы-(mutexes)';
}
}
</script>
<body>
<div class="example" id="атомарные-счетчики-(atomic-counters)">
<h2><a href="./">Go в примерах</a>: Атомарные счетчики (Atomic Counters)</h2>
<p class="next">
Следующий пример: <a href="мьютексы-(mutexes)">Мьютексы (Mutexes)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/атомарные-счетчики-(atomic-counters)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Буферизированный канал (Channel Buffering)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'каналы-(channels)';
}
if (e.key == "ArrowRight") {
window.location.href = 'синхронизация-канала-(channel-synchronization)';
}
}
</script>
<body>
<div class="example" id="буферизированный-канал-(channel-buffering)">
<h2><a href="./">Go в примерах</a>: Буферизированный канал (Channel Buffering)</h2>
<p class="next">
Следующий пример: <a href="синхронизация-канала-(channel-synchronization)">Синхронизация канала (Channel Synchronization)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/буферизированный-канал-(channel-buffering)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Временные файлы и директории (Temporary Files and Directories)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'директории-(directories)';
}
if (e.key == "ArrowRight") {
window.location.href = 'тестирование-(testing)';
}
}
</script>
<body>
<div class="example" id="временные-файлы-и-директории-(temporary-files-and-directories)">
<h2><a href="./">Go в примерах</a>: Временные файлы и директории (Temporary Files and Directories)</h2>
<p class="next">
Следующий пример: <a href="тестирование-(testing)">Тестирование (Testing)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/временные-файлы-и-директории-(temporary-files-and-directories)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/время-(time) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Время (Time)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'xml';
}
if (e.key == "ArrowRight") {
window.location.href = 'epoch';
}
}
</script>
<body>
<div class="example" id="время-(time)">
<h2><a href="./">Go в примерах</a>: Время (Time)</h2>
<p class="next">
Следующий пример: <a href="epoch">Epoch</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/время-(time)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

33
public/выход-(exit) generated Normal file
View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Выход (Exit)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'сигналы-(signals)';
}
}
</script>
<body>
<div class="example" id="выход-(exit)">
<h2><a href="./">Go в примерах</a>: Выход (Exit)</h2>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/выход-(exit)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/горутины-(goroutines) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Горутины (Goroutines)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'ошибки-(errors)';
}
if (e.key == "ArrowRight") {
window.location.href = 'каналы-(channels)';
}
}
</script>
<body>
<div class="example" id="горутины-(goroutines)">
<h2><a href="./">Go в примерах</a>: Горутины (Goroutines)</h2>
<p class="next">
Следующий пример: <a href="каналы-(channels)">Каналы (Channels)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/горутины-(goroutines)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Директории (Directories)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'пути-к-файлам-(file-paths)';
}
if (e.key == "ArrowRight") {
window.location.href = 'временные-файлы-и-директории-(temporary-files-and-directories)';
}
}
</script>
<body>
<div class="example" id="директории-(directories)">
<h2><a href="./">Go в примерах</a>: Директории (Directories)</h2>
<p class="next">
Следующий пример: <a href="временные-файлы-и-директории-(temporary-files-and-directories)">Временные файлы и директории (Temporary Files and Directories)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/директории-(directories)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Закрытие каналов (Closing Channels)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'неблокируемые-операции-в-каналах-(non-blocking-channel-operations)';
}
if (e.key == "ArrowRight") {
window.location.href = 'перебор-значений-из-каналов-(range-over-channels)';
}
}
</script>
<body>
<div class="example" id="закрытие-каналов-(closing-channels)">
<h2><a href="./">Go в примерах</a>: Закрытие каналов (Closing Channels)</h2>
<p class="next">
Следующий пример: <a href="перебор-значений-из-каналов-(range-over-channels)">Перебор значений из каналов (Range over Channels)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/закрытие-каналов-(closing-channels)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/замыкания-(closures) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Замыкания (Closures)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'функции-с-переменным-числом-аргументов-(variadic-functions)';
}
if (e.key == "ArrowRight") {
window.location.href = 'рекурсия-(recursion)';
}
}
</script>
<body>
<div class="example" id="замыкания-(closures)">
<h2><a href="./">Go в примерах</a>: Замыкания (Closures)</h2>
<p class="next">
Следующий пример: <a href="рекурсия-(recursion)">Рекурсия (Recursion)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/замыкания-(closures)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Запись файлов (Writing Files)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'чтение-файлов-(reading-files)';
}
if (e.key == "ArrowRight") {
window.location.href = 'строковые-фильтры-(line-filters)';
}
}
</script>
<body>
<div class="example" id="запись-файлов-(writing-files)">
<h2><a href="./">Go в примерах</a>: Запись файлов (Writing Files)</h2>
<p class="next">
Следующий пример: <a href="строковые-фильтры-(line-filters)">Строковые фильтры (Line Filters)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/запись-файлов-(writing-files)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/интерфейсы-(interfaces) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Интерфейсы (Interfaces)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'методы-(methods)';
}
if (e.key == "ArrowRight") {
window.location.href = 'ошибки-(errors)';
}
}
</script>
<body>
<div class="example" id="интерфейсы-(interfaces)">
<h2><a href="./">Go в примерах</a>: Интерфейсы (Interfaces)</h2>
<p class="next">
Следующий пример: <a href="ошибки-(errors)">Ошибки (Errors)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/интерфейсы-(interfaces)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Исполняющие процессы (Exec'ing Processes)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'порождающие-процессы-(spawning-processes)';
}
if (e.key == "ArrowRight") {
window.location.href = 'сигналы-(signals)';
}
}
</script>
<body>
<div class="example" id="исполняющие-процессы-(execing-processes)">
<h2><a href="./">Go в примерах</a>: Исполняющие процессы (Exec'ing Processes)</h2>
<p class="next">
Следующий пример: <a href="сигналы-(signals)">Сигналы (Signals)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/исполняющие-процессы-(execing-processes)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/каналы-(channels) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Каналы (Channels)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'горутины-(goroutines)';
}
if (e.key == "ArrowRight") {
window.location.href = 'буферизированный-канал-(channel-buffering)';
}
}
</script>
<body>
<div class="example" id="каналы-(channels)">
<h2><a href="./">Go в примерах</a>: Каналы (Channels)</h2>
<p class="next">
Следующий пример: <a href="буферизированный-канал-(channel-buffering)">Буферизированный канал (Channel Buffering)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/каналы-(channels)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/карты-(maps) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Карты (Maps)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'срезы-(slices)';
}
if (e.key == "ArrowRight") {
window.location.href = 'ряд-(range)';
}
}
</script>
<body>
<div class="example" id="карты-(maps)">
<h2><a href="./">Go в примерах</a>: Карты (Maps)</h2>
<p class="next">
Следующий пример: <a href="ряд-(range)">Ряд (Range)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/карты-(maps)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Кодирование Base64 (Base64 Encoding)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'хеш-sha1-(sha1-hashes)';
}
if (e.key == "ArrowRight") {
window.location.href = 'чтение-файлов-(reading-files)';
}
}
</script>
<body>
<div class="example" id="кодирование-base64-(base64-encoding)">
<h2><a href="./">Go в примерах</a>: Кодирование Base64 (Base64 Encoding)</h2>
<p class="next">
Следующий пример: <a href="чтение-файлов-(reading-files)">Чтение файлов (Reading Files)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/кодирование-base64-(base64-encoding)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/константы-(constants) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Константы (Constants)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'переменные-(variables)';
}
if (e.key == "ArrowRight") {
window.location.href = 'цикл-for';
}
}
</script>
<body>
<div class="example" id="константы-(constants)">
<h2><a href="./">Go в примерах</a>: Константы (Constants)</h2>
<p class="next">
Следующий пример: <a href="цикл-for">Цикл For</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/константы-(constants)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/массивы-(arrays) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Массивы (Arrays)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'switch';
}
if (e.key == "ArrowRight") {
window.location.href = 'срезы-(slices)';
}
}
</script>
<body>
<div class="example" id="массивы-(arrays)">
<h2><a href="./">Go в примерах</a>: Массивы (Arrays)</h2>
<p class="next">
Следующий пример: <a href="срезы-(slices)">Срезы (Slices)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/массивы-(arrays)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/методы-(methods) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Методы (Methods)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'структуры-(structs)';
}
if (e.key == "ArrowRight") {
window.location.href = 'интерфейсы-(interfaces)';
}
}
</script>
<body>
<div class="example" id="методы-(methods)">
<h2><a href="./">Go в примерах</a>: Методы (Methods)</h2>
<p class="next">
Следующий пример: <a href="интерфейсы-(interfaces)">Интерфейсы (Interfaces)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/методы-(methods)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/мьютексы-(mutexes) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Мьютексы (Mutexes)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'атомарные-счетчики-(atomic-counters)';
}
if (e.key == "ArrowRight") {
window.location.href = 'управление-состоянием-горутин-(stateful-goroutines)';
}
}
</script>
<body>
<div class="example" id="мьютексы-(mutexes)">
<h2><a href="./">Go в примерах</a>: Мьютексы (Mutexes)</h2>
<p class="next">
Следующий пример: <a href="управление-состоянием-горутин-(stateful-goroutines)">Управление состоянием горутин (Stateful Goroutines)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/мьютексы-(mutexes)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Направления канала (Channel Directions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'синхронизация-канала-(channel-synchronization)';
}
if (e.key == "ArrowRight") {
window.location.href = 'select';
}
}
</script>
<body>
<div class="example" id="направления-канала-(channel-directions)">
<h2><a href="./">Go в примерах</a>: Направления канала (Channel Directions)</h2>
<p class="next">
Следующий пример: <a href="select">Select</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/направления-канала-(channel-directions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Неблокируемые операции в каналах (Non-Blocking Channel Operations)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'тайм-ауты-(timeouts)';
}
if (e.key == "ArrowRight") {
window.location.href = 'закрытие-каналов-(closing-channels)';
}
}
</script>
<body>
<div class="example" id="неблокируемые-операции-в-каналах-(non-blocking-channel-operations)">
<h2><a href="./">Go в примерах</a>: Неблокируемые операции в каналах (Non-Blocking Channel Operations)</h2>
<p class="next">
Следующий пример: <a href="закрытие-каналов-(closing-channels)">Закрытие каналов (Closing Channels)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/неблокируемые-операции-в-каналах-(non-blocking-channel-operations)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Ограничение скорости (Rate Limiting)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'waitgroups';
}
if (e.key == "ArrowRight") {
window.location.href = 'атомарные-счетчики-(atomic-counters)';
}
}
</script>
<body>
<div class="example" id="ограничение-скорости-(rate-limiting)">
<h2><a href="./">Go в примерах</a>: Ограничение скорости (Rate Limiting)</h2>
<p class="next">
Следующий пример: <a href="атомарные-счетчики-(atomic-counters)">Атомарные счетчики (Atomic Counters)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/ограничение-скорости-(rate-limiting)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/ошибки-(errors) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Ошибки (Errors)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'интерфейсы-(interfaces)';
}
if (e.key == "ArrowRight") {
window.location.href = 'горутины-(goroutines)';
}
}
</script>
<body>
<div class="example" id="ошибки-(errors)">
<h2><a href="./">Go в примерах</a>: Ошибки (Errors)</h2>
<p class="next">
Следующий пример: <a href="горутины-(goroutines)">Горутины (Goroutines)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/ошибки-(errors)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/парсинг-url-(url-parsing) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Парсинг URL (URL Parsing)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'парсинг-чисел-(number-parsing)';
}
if (e.key == "ArrowRight") {
window.location.href = 'хеш-sha1-(sha1-hashes)';
}
}
</script>
<body>
<div class="example" id="парсинг-url-(url-parsing)">
<h2><a href="./">Go в примерах</a>: Парсинг URL (URL Parsing)</h2>
<p class="next">
Следующий пример: <a href="хеш-sha1-(sha1-hashes)">Хеш SHA1 (SHA1 Hashes)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/парсинг-url-(url-parsing)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Парсинг чисел (Number Parsing)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'случайные-числа-(random-numbers)';
}
if (e.key == "ArrowRight") {
window.location.href = 'парсинг-url-(url-parsing)';
}
}
</script>
<body>
<div class="example" id="парсинг-чисел-(number-parsing)">
<h2><a href="./">Go в примерах</a>: Парсинг чисел (Number Parsing)</h2>
<p class="next">
Следующий пример: <a href="парсинг-url-(url-parsing)">Парсинг URL (URL Parsing)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/парсинг-чисел-(number-parsing)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Перебор значений из каналов (Range over Channels)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'закрытие-каналов-(closing-channels)';
}
if (e.key == "ArrowRight") {
window.location.href = 'таймеры-(timers)';
}
}
</script>
<body>
<div class="example" id="перебор-значений-из-каналов-(range-over-channels)">
<h2><a href="./">Go в примерах</a>: Перебор значений из каналов (Range over Channels)</h2>
<p class="next">
Следующий пример: <a href="таймеры-(timers)">Таймеры (Timers)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/перебор-значений-из-каналов-(range-over-channels)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/переменные-(variables) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Переменные (Variables)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'типы-данных-(values)';
}
if (e.key == "ArrowRight") {
window.location.href = 'константы-(constants)';
}
}
</script>
<body>
<div class="example" id="переменные-(variables)">
<h2><a href="./">Go в примерах</a>: Переменные (Variables)</h2>
<p class="next">
Следующий пример: <a href="константы-(constants)">Константы (Constants)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/переменные-(variables)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Переменные среды (Environment Variables)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'подкоманды-командной-строки-(command-line-subcommands)';
}
if (e.key == "ArrowRight") {
window.location.href = 'http-клиенты-(http-clients)';
}
}
</script>
<body>
<div class="example" id="переменные-среды-(environment-variables)">
<h2><a href="./">Go в примерах</a>: Переменные среды (Environment Variables)</h2>
<p class="next">
Следующий пример: <a href="http-клиенты-(http-clients)">HTTP клиенты (HTTP Clients)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/переменные-среды-(environment-variables)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Подкоманды командной строки (Command-Line Subcommands)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'флаги-командной-строки-(command-line-flags)';
}
if (e.key == "ArrowRight") {
window.location.href = 'переменные-среды-(environment-variables)';
}
}
</script>
<body>
<div class="example" id="подкоманды-командной-строки-(command-line-subcommands)">
<h2><a href="./">Go в примерах</a>: Подкоманды командной строки (Command-Line Subcommands)</h2>
<p class="next">
Следующий пример: <a href="переменные-среды-(environment-variables)">Переменные среды (Environment Variables)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/подкоманды-командной-строки-(command-line-subcommands)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Порождающие процессы (Spawning Processes)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'http-серверы-(http-servers)';
}
if (e.key == "ArrowRight") {
window.location.href = 'исполняющие-процессы-(execing-processes)';
}
}
</script>
<body>
<div class="example" id="порождающие-процессы-(spawning-processes)">
<h2><a href="./">Go в примерах</a>: Порождающие процессы (Spawning Processes)</h2>
<p class="next">
Следующий пример: <a href="исполняющие-процессы-(execing-processes)">Исполняющие процессы (Exec'ing Processes)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/порождающие-процессы-(spawning-processes)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Пулы воркеров (Worker Pools)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'тикеры-(повторения)-(tickers)';
}
if (e.key == "ArrowRight") {
window.location.href = 'waitgroups';
}
}
</script>
<body>
<div class="example" id="пулы-воркеров-(worker-pools)">
<h2><a href="./">Go в примерах</a>: Пулы воркеров (Worker Pools)</h2>
<p class="next">
Следующий пример: <a href="waitgroups">WaitGroups</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/пулы-воркеров-(worker-pools)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Пути к файлам (File Paths)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'строковые-фильтры-(line-filters)';
}
if (e.key == "ArrowRight") {
window.location.href = 'директории-(directories)';
}
}
</script>
<body>
<div class="example" id="пути-к-файлам-(file-paths)">
<h2><a href="./">Go в примерах</a>: Пути к файлам (File Paths)</h2>
<p class="next">
Следующий пример: <a href="директории-(directories)">Директории (Directories)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/пути-к-файлам-(file-paths)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Регулярные выражения (Regular Expressions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'форматирование-строк-(string-formatting)';
}
if (e.key == "ArrowRight") {
window.location.href = 'json';
}
}
</script>
<body>
<div class="example" id="регулярные-выражения-(regular-expressions)">
<h2><a href="./">Go в примерах</a>: Регулярные выражения (Regular Expressions)</h2>
<p class="next">
Следующий пример: <a href="json">JSON</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/регулярные-выражения-(regular-expressions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/рекурсия-(recursion) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Рекурсия (Recursion)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'замыкания-(closures)';
}
if (e.key == "ArrowRight") {
window.location.href = 'указатели-(pointers)';
}
}
</script>
<body>
<div class="example" id="рекурсия-(recursion)">
<h2><a href="./">Go в примерах</a>: Рекурсия (Recursion)</h2>
<p class="next">
Следующий пример: <a href="указатели-(pointers)">Указатели (Pointers)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/рекурсия-(recursion)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/ряд-(range) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Ряд (Range)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'карты-(maps)';
}
if (e.key == "ArrowRight") {
window.location.href = 'функции-(functions)';
}
}
</script>
<body>
<div class="example" id="ряд-(range)">
<h2><a href="./">Go в примерах</a>: Ряд (Range)</h2>
<p class="next">
Следующий пример: <a href="функции-(functions)">Функции (Functions)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/ряд-(range)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/сигналы-(signals) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Сигналы (Signals)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'исполняющие-процессы-(execing-processes)';
}
if (e.key == "ArrowRight") {
window.location.href = 'выход-(exit)';
}
}
</script>
<body>
<div class="example" id="сигналы-(signals)">
<h2><a href="./">Go в примерах</a>: Сигналы (Signals)</h2>
<p class="next">
Следующий пример: <a href="выход-(exit)">Выход (Exit)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/сигналы-(signals)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Синхронизация канала (Channel Synchronization)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'буферизированный-канал-(channel-buffering)';
}
if (e.key == "ArrowRight") {
window.location.href = 'направления-канала-(channel-directions)';
}
}
</script>
<body>
<div class="example" id="синхронизация-канала-(channel-synchronization)">
<h2><a href="./">Go в примерах</a>: Синхронизация канала (Channel Synchronization)</h2>
<p class="next">
Следующий пример: <a href="направления-канала-(channel-directions)">Направления канала (Channel Directions)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/синхронизация-канала-(channel-synchronization)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Случайные числа (Random Numbers)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'форматирование-времени-(time-formatting-parsing)';
}
if (e.key == "ArrowRight") {
window.location.href = 'парсинг-чисел-(number-parsing)';
}
}
</script>
<body>
<div class="example" id="случайные-числа-(random-numbers)">
<h2><a href="./">Go в примерах</a>: Случайные числа (Random Numbers)</h2>
<p class="next">
Следующий пример: <a href="парсинг-чисел-(number-parsing)">Парсинг чисел (Number Parsing)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/случайные-числа-(random-numbers)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/сортировка-(sorting) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Сортировка (Sorting)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'управление-состоянием-горутин-(stateful-goroutines)';
}
if (e.key == "ArrowRight") {
window.location.href = 'сортировка-через-функции-(sorting-by-functions)';
}
}
</script>
<body>
<div class="example" id="сортировка-(sorting)">
<h2><a href="./">Go в примерах</a>: Сортировка (Sorting)</h2>
<p class="next">
Следующий пример: <a href="сортировка-через-функции-(sorting-by-functions)">Сортировка через функции (Sorting by Functions)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/сортировка-(sorting)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Сортировка через функции (Sorting by Functions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'сортировка-(sorting)';
}
if (e.key == "ArrowRight") {
window.location.href = 'panic';
}
}
</script>
<body>
<div class="example" id="сортировка-через-функции-(sorting-by-functions)">
<h2><a href="./">Go в примерах</a>: Сортировка через функции (Sorting by Functions)</h2>
<p class="next">
Следующий пример: <a href="panic">Panic</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/сортировка-через-функции-(sorting-by-functions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/срезы-(slices) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Срезы (Slices)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'массивы-(arrays)';
}
if (e.key == "ArrowRight") {
window.location.href = 'карты-(maps)';
}
}
</script>
<body>
<div class="example" id="срезы-(slices)">
<h2><a href="./">Go в примерах</a>: Срезы (Slices)</h2>
<p class="next">
Следующий пример: <a href="карты-(maps)">Карты (Maps)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/срезы-(slices)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Строковые фильтры (Line Filters)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'запись-файлов-(writing-files)';
}
if (e.key == "ArrowRight") {
window.location.href = 'пути-к-файлам-(file-paths)';
}
}
</script>
<body>
<div class="example" id="строковые-фильтры-(line-filters)">
<h2><a href="./">Go в примерах</a>: Строковые фильтры (Line Filters)</h2>
<p class="next">
Следующий пример: <a href="пути-к-файлам-(file-paths)">Пути к файлам (File Paths)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/строковые-фильтры-(line-filters)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Строковые функции (String Functions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'функции-коллекции-(collection-functions)';
}
if (e.key == "ArrowRight") {
window.location.href = 'форматирование-строк-(string-formatting)';
}
}
</script>
<body>
<div class="example" id="строковые-функции-(string-functions)">
<h2><a href="./">Go в примерах</a>: Строковые функции (String Functions)</h2>
<p class="next">
Следующий пример: <a href="форматирование-строк-(string-formatting)">Форматирование строк (String Formatting)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/строковые-функции-(string-functions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/структуры-(structs) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Структуры (Structs)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'указатели-(pointers)';
}
if (e.key == "ArrowRight") {
window.location.href = 'методы-(methods)';
}
}
</script>
<body>
<div class="example" id="структуры-(structs)">
<h2><a href="./">Go в примерах</a>: Структуры (Structs)</h2>
<p class="next">
Следующий пример: <a href="методы-(methods)">Методы (Methods)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/структуры-(structs)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/тайм-ауты-(timeouts) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Тайм-ауты (Timeouts)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'select';
}
if (e.key == "ArrowRight") {
window.location.href = 'неблокируемые-операции-в-каналах-(non-blocking-channel-operations)';
}
}
</script>
<body>
<div class="example" id="тайм-ауты-(timeouts)">
<h2><a href="./">Go в примерах</a>: Тайм-ауты (Timeouts)</h2>
<p class="next">
Следующий пример: <a href="неблокируемые-операции-в-каналах-(non-blocking-channel-operations)">Неблокируемые операции в каналах (Non-Blocking Channel Operations)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/тайм-ауты-(timeouts)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/таймеры-(timers) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Таймеры (Timers)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'перебор-значений-из-каналов-(range-over-channels)';
}
if (e.key == "ArrowRight") {
window.location.href = 'тикеры-(повторения)-(tickers)';
}
}
</script>
<body>
<div class="example" id="таймеры-(timers)">
<h2><a href="./">Go в примерах</a>: Таймеры (Timers)</h2>
<p class="next">
Следующий пример: <a href="тикеры-(повторения)-(tickers)">Тикеры (повторения) (Tickers)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/таймеры-(timers)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Тестирование (Testing)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'временные-файлы-и-директории-(temporary-files-and-directories)';
}
if (e.key == "ArrowRight") {
window.location.href = 'аргументы-командной-строки-(command-line-arguments)';
}
}
</script>
<body>
<div class="example" id="тестирование-(testing)">
<h2><a href="./">Go в примерах</a>: Тестирование (Testing)</h2>
<p class="next">
Следующий пример: <a href="аргументы-командной-строки-(command-line-arguments)">Аргументы командной строки (Command-Line Arguments)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/тестирование-(testing)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Тикеры (повторения) (Tickers)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'таймеры-(timers)';
}
if (e.key == "ArrowRight") {
window.location.href = 'пулы-воркеров-(worker-pools)';
}
}
</script>
<body>
<div class="example" id="тикеры-(повторения)-(tickers)">
<h2><a href="./">Go в примерах</a>: Тикеры (повторения) (Tickers)</h2>
<p class="next">
Следующий пример: <a href="пулы-воркеров-(worker-pools)">Пулы воркеров (Worker Pools)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/тикеры-(повторения)-(tickers)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/типы-данных-(values) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Типы данных (Values)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'hello-world';
}
if (e.key == "ArrowRight") {
window.location.href = 'переменные-(variables)';
}
}
</script>
<body>
<div class="example" id="типы-данных-(values)">
<h2><a href="./">Go в примерах</a>: Типы данных (Values)</h2>
<p class="next">
Следующий пример: <a href="переменные-(variables)">Переменные (Variables)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/типы-данных-(values)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/указатели-(pointers) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Указатели (Pointers)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'рекурсия-(recursion)';
}
if (e.key == "ArrowRight") {
window.location.href = 'структуры-(structs)';
}
}
</script>
<body>
<div class="example" id="указатели-(pointers)">
<h2><a href="./">Go в примерах</a>: Указатели (Pointers)</h2>
<p class="next">
Следующий пример: <a href="структуры-(structs)">Структуры (Structs)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/указатели-(pointers)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Управление состоянием горутин (Stateful Goroutines)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'мьютексы-(mutexes)';
}
if (e.key == "ArrowRight") {
window.location.href = 'сортировка-(sorting)';
}
}
</script>
<body>
<div class="example" id="управление-состоянием-горутин-(stateful-goroutines)">
<h2><a href="./">Go в примерах</a>: Управление состоянием горутин (Stateful Goroutines)</h2>
<p class="next">
Следующий пример: <a href="сортировка-(sorting)">Сортировка (Sorting)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/управление-состоянием-горутин-(stateful-goroutines)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Флаги командной строки (Command-Line Flags)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'аргументы-командной-строки-(command-line-arguments)';
}
if (e.key == "ArrowRight") {
window.location.href = 'подкоманды-командной-строки-(command-line-subcommands)';
}
}
</script>
<body>
<div class="example" id="флаги-командной-строки-(command-line-flags)">
<h2><a href="./">Go в примерах</a>: Флаги командной строки (Command-Line Flags)</h2>
<p class="next">
Следующий пример: <a href="подкоманды-командной-строки-(command-line-subcommands)">Подкоманды командной строки (Command-Line Subcommands)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/флаги-командной-строки-(command-line-flags)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Форматирование времени (Time Formatting / Parsing)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'epoch';
}
if (e.key == "ArrowRight") {
window.location.href = 'случайные-числа-(random-numbers)';
}
}
</script>
<body>
<div class="example" id="форматирование-времени-(time-formatting-parsing)">
<h2><a href="./">Go в примерах</a>: Форматирование времени (Time Formatting / Parsing)</h2>
<p class="next">
Следующий пример: <a href="случайные-числа-(random-numbers)">Случайные числа (Random Numbers)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/форматирование-времени-(time-formatting-parsing)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Форматирование строк (String Formatting)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'строковые-функции-(string-functions)';
}
if (e.key == "ArrowRight") {
window.location.href = 'регулярные-выражения-(regular-expressions)';
}
}
</script>
<body>
<div class="example" id="форматирование-строк-(string-formatting)">
<h2><a href="./">Go в примерах</a>: Форматирование строк (String Formatting)</h2>
<p class="next">
Следующий пример: <a href="регулярные-выражения-(regular-expressions)">Регулярные выражения (Regular Expressions)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/форматирование-строк-(string-formatting)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/функции-(functions) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Функции (Functions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'ряд-(range)';
}
if (e.key == "ArrowRight") {
window.location.href = 'функции-с-множественным-возвратом-(multiple-return-values)';
}
}
</script>
<body>
<div class="example" id="функции-(functions)">
<h2><a href="./">Go в примерах</a>: Функции (Functions)</h2>
<p class="next">
Следующий пример: <a href="функции-с-множественным-возвратом-(multiple-return-values)">Функции с множественным возвратом (Multiple Return Values)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/функции-(functions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Функции коллекции (Collection Functions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'defer';
}
if (e.key == "ArrowRight") {
window.location.href = 'строковые-функции-(string-functions)';
}
}
</script>
<body>
<div class="example" id="функции-коллекции-(collection-functions)">
<h2><a href="./">Go в примерах</a>: Функции коллекции (Collection Functions)</h2>
<p class="next">
Следующий пример: <a href="строковые-функции-(string-functions)">Строковые функции (String Functions)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/функции-коллекции-(collection-functions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Функции с множественным возвратом (Multiple Return Values)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'функции-(functions)';
}
if (e.key == "ArrowRight") {
window.location.href = 'функции-с-переменным-числом-аргументов-(variadic-functions)';
}
}
</script>
<body>
<div class="example" id="функции-с-множественным-возвратом-(multiple-return-values)">
<h2><a href="./">Go в примерах</a>: Функции с множественным возвратом (Multiple Return Values)</h2>
<p class="next">
Следующий пример: <a href="функции-с-переменным-числом-аргументов-(variadic-functions)">Функции с переменным числом аргументов (Variadic Functions)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/функции-с-множественным-возвратом-(multiple-return-values)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Функции с переменным числом аргументов (Variadic Functions)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'функции-с-множественным-возвратом-(multiple-return-values)';
}
if (e.key == "ArrowRight") {
window.location.href = 'замыкания-(closures)';
}
}
</script>
<body>
<div class="example" id="функции-с-переменным-числом-аргументов-(variadic-functions)">
<h2><a href="./">Go в примерах</a>: Функции с переменным числом аргументов (Variadic Functions)</h2>
<p class="next">
Следующий пример: <a href="замыкания-(closures)">Замыкания (Closures)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/функции-с-переменным-числом-аргументов-(variadic-functions)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/хеш-sha1-(sha1-hashes) generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Хеш SHA1 (SHA1 Hashes)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'парсинг-url-(url-parsing)';
}
if (e.key == "ArrowRight") {
window.location.href = 'кодирование-base64-(base64-encoding)';
}
}
</script>
<body>
<div class="example" id="хеш-sha1-(sha1-hashes)">
<h2><a href="./">Go в примерах</a>: Хеш SHA1 (SHA1 Hashes)</h2>
<p class="next">
Следующий пример: <a href="кодирование-base64-(base64-encoding)">Кодирование Base64 (Base64 Encoding)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/хеш-sha1-(sha1-hashes)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

41
public/цикл-for generated Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Цикл For</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'константы-(constants)';
}
if (e.key == "ArrowRight") {
window.location.href = 'if-else';
}
}
</script>
<body>
<div class="example" id="цикл-for">
<h2><a href="./">Go в примерах</a>: Цикл For</h2>
<p class="next">
Следующий пример: <a href="if-else">If/Else</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/цикл-for">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go в примерах: Чтение файлов (Reading Files)</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
if (e.key == "ArrowLeft") {
window.location.href = 'кодирование-base64-(base64-encoding)';
}
if (e.key == "ArrowRight") {
window.location.href = 'запись-файлов-(writing-files)';
}
}
</script>
<body>
<div class="example" id="чтение-файлов-(reading-files)">
<h2><a href="./">Go в примерах</a>: Чтение файлов (Reading Files)</h2>
<p class="next">
Следующий пример: <a href="запись-файлов-(writing-files)">Запись файлов (Writing Files)</a>.
</p>
<p class="footer">
by <a href="https://markmcgranaghan.com">Mark McGranaghan</a> | <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/чтение-файлов-(reading-files)">source</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a>
</p>
</div>
<script>
var codeLines = [];
</script>
<script src="site.js" async></script>
</body>
</html>