42 lines
1.3 KiB
Plaintext
Generated
42 lines
1.3 KiB
Plaintext
Generated
<!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>
|