Examples: fix invalid html
Add lang attribute to html tag
This commit is contained in:
parent
73cd7a73bb
commit
aff87f6232
2
public/404.html
generated
2
public/404.html
generated
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Not Found</title>
|
<title>Go by Example: Not Found</title>
|
||||||
|
4
public/arrays
generated
4
public/arrays
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Arrays</title>
|
<title>Go by Example: Arrays</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="arrays">
|
<div class="example" id="arrays">
|
||||||
<h2><a href="./">Go by Example</a>: Arrays</h2>
|
<h2><a href="./">Go by Example</a>: Arrays</h2>
|
||||||
|
4
public/atomic-counters
generated
4
public/atomic-counters
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Atomic Counters</title>
|
<title>Go by Example: Atomic Counters</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="atomic-counters">
|
<div class="example" id="atomic-counters">
|
||||||
<h2><a href="./">Go by Example</a>: Atomic Counters</h2>
|
<h2><a href="./">Go by Example</a>: Atomic Counters</h2>
|
||||||
|
4
public/base64-encoding
generated
4
public/base64-encoding
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Base64 Encoding</title>
|
<title>Go by Example: Base64 Encoding</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="base64-encoding">
|
<div class="example" id="base64-encoding">
|
||||||
<h2><a href="./">Go by Example</a>: Base64 Encoding</h2>
|
<h2><a href="./">Go by Example</a>: Base64 Encoding</h2>
|
||||||
|
4
public/channel-buffering
generated
4
public/channel-buffering
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Channel Buffering</title>
|
<title>Go by Example: Channel Buffering</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="channel-buffering">
|
<div class="example" id="channel-buffering">
|
||||||
<h2><a href="./">Go by Example</a>: Channel Buffering</h2>
|
<h2><a href="./">Go by Example</a>: Channel Buffering</h2>
|
||||||
|
4
public/channel-directions
generated
4
public/channel-directions
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Channel Directions</title>
|
<title>Go by Example: Channel Directions</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="channel-directions">
|
<div class="example" id="channel-directions">
|
||||||
<h2><a href="./">Go by Example</a>: Channel Directions</h2>
|
<h2><a href="./">Go by Example</a>: Channel Directions</h2>
|
||||||
|
4
public/channel-synchronization
generated
4
public/channel-synchronization
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Channel Synchronization</title>
|
<title>Go by Example: Channel Synchronization</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="channel-synchronization">
|
<div class="example" id="channel-synchronization">
|
||||||
<h2><a href="./">Go by Example</a>: Channel Synchronization</h2>
|
<h2><a href="./">Go by Example</a>: Channel Synchronization</h2>
|
||||||
|
4
public/channels
generated
4
public/channels
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Channels</title>
|
<title>Go by Example: Channels</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="channels">
|
<div class="example" id="channels">
|
||||||
<h2><a href="./">Go by Example</a>: Channels</h2>
|
<h2><a href="./">Go by Example</a>: Channels</h2>
|
||||||
|
4
public/closing-channels
generated
4
public/closing-channels
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Closing Channels</title>
|
<title>Go by Example: Closing Channels</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="closing-channels">
|
<div class="example" id="closing-channels">
|
||||||
<h2><a href="./">Go by Example</a>: Closing Channels</h2>
|
<h2><a href="./">Go by Example</a>: Closing Channels</h2>
|
||||||
|
4
public/closures
generated
4
public/closures
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Closures</title>
|
<title>Go by Example: Closures</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="closures">
|
<div class="example" id="closures">
|
||||||
<h2><a href="./">Go by Example</a>: Closures</h2>
|
<h2><a href="./">Go by Example</a>: Closures</h2>
|
||||||
|
4
public/command-line-arguments
generated
4
public/command-line-arguments
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Command-Line Arguments</title>
|
<title>Go by Example: Command-Line Arguments</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="command-line-arguments">
|
<div class="example" id="command-line-arguments">
|
||||||
<h2><a href="./">Go by Example</a>: Command-Line Arguments</h2>
|
<h2><a href="./">Go by Example</a>: Command-Line Arguments</h2>
|
||||||
|
4
public/command-line-flags
generated
4
public/command-line-flags
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Command-Line Flags</title>
|
<title>Go by Example: Command-Line Flags</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="command-line-flags">
|
<div class="example" id="command-line-flags">
|
||||||
<h2><a href="./">Go by Example</a>: Command-Line Flags</h2>
|
<h2><a href="./">Go by Example</a>: Command-Line Flags</h2>
|
||||||
|
4
public/command-line-subcommands
generated
4
public/command-line-subcommands
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Command-Line Subcommands</title>
|
<title>Go by Example: Command-Line Subcommands</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="command-line-subcommands">
|
<div class="example" id="command-line-subcommands">
|
||||||
<h2><a href="./">Go by Example</a>: Command-Line Subcommands</h2>
|
<h2><a href="./">Go by Example</a>: Command-Line Subcommands</h2>
|
||||||
|
4
public/constants
generated
4
public/constants
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Constants</title>
|
<title>Go by Example: Constants</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="constants">
|
<div class="example" id="constants">
|
||||||
<h2><a href="./">Go by Example</a>: Constants</h2>
|
<h2><a href="./">Go by Example</a>: Constants</h2>
|
||||||
|
4
public/context
generated
4
public/context
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Context</title>
|
<title>Go by Example: Context</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="context">
|
<div class="example" id="context">
|
||||||
<h2><a href="./">Go by Example</a>: Context</h2>
|
<h2><a href="./">Go by Example</a>: Context</h2>
|
||||||
|
4
public/defer
generated
4
public/defer
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Defer</title>
|
<title>Go by Example: Defer</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="defer">
|
<div class="example" id="defer">
|
||||||
<h2><a href="./">Go by Example</a>: Defer</h2>
|
<h2><a href="./">Go by Example</a>: Defer</h2>
|
||||||
|
4
public/directories
generated
4
public/directories
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Directories</title>
|
<title>Go by Example: Directories</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="directories">
|
<div class="example" id="directories">
|
||||||
<h2><a href="./">Go by Example</a>: Directories</h2>
|
<h2><a href="./">Go by Example</a>: Directories</h2>
|
||||||
|
4
public/embed-directive
generated
4
public/embed-directive
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Embed Directive</title>
|
<title>Go by Example: Embed Directive</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="embed-directive">
|
<div class="example" id="embed-directive">
|
||||||
<h2><a href="./">Go by Example</a>: Embed Directive</h2>
|
<h2><a href="./">Go by Example</a>: Embed Directive</h2>
|
||||||
|
4
public/environment-variables
generated
4
public/environment-variables
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Environment Variables</title>
|
<title>Go by Example: Environment Variables</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="environment-variables">
|
<div class="example" id="environment-variables">
|
||||||
<h2><a href="./">Go by Example</a>: Environment Variables</h2>
|
<h2><a href="./">Go by Example</a>: Environment Variables</h2>
|
||||||
|
4
public/epoch
generated
4
public/epoch
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Epoch</title>
|
<title>Go by Example: Epoch</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="epoch">
|
<div class="example" id="epoch">
|
||||||
<h2><a href="./">Go by Example</a>: Epoch</h2>
|
<h2><a href="./">Go by Example</a>: Epoch</h2>
|
||||||
|
4
public/errors
generated
4
public/errors
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Errors</title>
|
<title>Go by Example: Errors</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="errors">
|
<div class="example" id="errors">
|
||||||
<h2><a href="./">Go by Example</a>: Errors</h2>
|
<h2><a href="./">Go by Example</a>: Errors</h2>
|
||||||
|
4
public/execing-processes
generated
4
public/execing-processes
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Exec'ing Processes</title>
|
<title>Go by Example: Exec'ing Processes</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="execing-processes">
|
<div class="example" id="execing-processes">
|
||||||
<h2><a href="./">Go by Example</a>: Exec'ing Processes</h2>
|
<h2><a href="./">Go by Example</a>: Exec'ing Processes</h2>
|
||||||
|
4
public/exit
generated
4
public/exit
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Exit</title>
|
<title>Go by Example: Exit</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -15,6 +14,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="exit">
|
<div class="example" id="exit">
|
||||||
<h2><a href="./">Go by Example</a>: Exit</h2>
|
<h2><a href="./">Go by Example</a>: Exit</h2>
|
||||||
|
4
public/file-paths
generated
4
public/file-paths
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: File Paths</title>
|
<title>Go by Example: File Paths</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="file-paths">
|
<div class="example" id="file-paths">
|
||||||
<h2><a href="./">Go by Example</a>: File Paths</h2>
|
<h2><a href="./">Go by Example</a>: File Paths</h2>
|
||||||
|
4
public/for
generated
4
public/for
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: For</title>
|
<title>Go by Example: For</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="for">
|
<div class="example" id="for">
|
||||||
<h2><a href="./">Go by Example</a>: For</h2>
|
<h2><a href="./">Go by Example</a>: For</h2>
|
||||||
|
4
public/functions
generated
4
public/functions
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Functions</title>
|
<title>Go by Example: Functions</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="functions">
|
<div class="example" id="functions">
|
||||||
<h2><a href="./">Go by Example</a>: Functions</h2>
|
<h2><a href="./">Go by Example</a>: Functions</h2>
|
||||||
|
4
public/generics
generated
4
public/generics
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Generics</title>
|
<title>Go by Example: Generics</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="generics">
|
<div class="example" id="generics">
|
||||||
<h2><a href="./">Go by Example</a>: Generics</h2>
|
<h2><a href="./">Go by Example</a>: Generics</h2>
|
||||||
|
4
public/goroutines
generated
4
public/goroutines
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Goroutines</title>
|
<title>Go by Example: Goroutines</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="goroutines">
|
<div class="example" id="goroutines">
|
||||||
<h2><a href="./">Go by Example</a>: Goroutines</h2>
|
<h2><a href="./">Go by Example</a>: Goroutines</h2>
|
||||||
|
4
public/hello-world
generated
4
public/hello-world
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Hello World</title>
|
<title>Go by Example: Hello World</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -15,6 +14,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="hello-world">
|
<div class="example" id="hello-world">
|
||||||
<h2><a href="./">Go by Example</a>: Hello World</h2>
|
<h2><a href="./">Go by Example</a>: Hello World</h2>
|
||||||
|
4
public/http-clients
generated
4
public/http-clients
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: HTTP Clients</title>
|
<title>Go by Example: HTTP Clients</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="http-clients">
|
<div class="example" id="http-clients">
|
||||||
<h2><a href="./">Go by Example</a>: HTTP Clients</h2>
|
<h2><a href="./">Go by Example</a>: HTTP Clients</h2>
|
||||||
|
4
public/http-servers
generated
4
public/http-servers
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: HTTP Servers</title>
|
<title>Go by Example: HTTP Servers</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="http-servers">
|
<div class="example" id="http-servers">
|
||||||
<h2><a href="./">Go by Example</a>: HTTP Servers</h2>
|
<h2><a href="./">Go by Example</a>: HTTP Servers</h2>
|
||||||
|
4
public/if-else
generated
4
public/if-else
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: If/Else</title>
|
<title>Go by Example: If/Else</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="if-else">
|
<div class="example" id="if-else">
|
||||||
<h2><a href="./">Go by Example</a>: If/Else</h2>
|
<h2><a href="./">Go by Example</a>: If/Else</h2>
|
||||||
|
2
public/index.html
generated
2
public/index.html
generated
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example</title>
|
<title>Go by Example</title>
|
||||||
|
4
public/interfaces
generated
4
public/interfaces
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Interfaces</title>
|
<title>Go by Example: Interfaces</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="interfaces">
|
<div class="example" id="interfaces">
|
||||||
<h2><a href="./">Go by Example</a>: Interfaces</h2>
|
<h2><a href="./">Go by Example</a>: Interfaces</h2>
|
||||||
|
4
public/json
generated
4
public/json
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: JSON</title>
|
<title>Go by Example: JSON</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="json">
|
<div class="example" id="json">
|
||||||
<h2><a href="./">Go by Example</a>: JSON</h2>
|
<h2><a href="./">Go by Example</a>: JSON</h2>
|
||||||
|
4
public/line-filters
generated
4
public/line-filters
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Line Filters</title>
|
<title>Go by Example: Line Filters</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="line-filters">
|
<div class="example" id="line-filters">
|
||||||
<h2><a href="./">Go by Example</a>: Line Filters</h2>
|
<h2><a href="./">Go by Example</a>: Line Filters</h2>
|
||||||
|
4
public/maps
generated
4
public/maps
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Maps</title>
|
<title>Go by Example: Maps</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="maps">
|
<div class="example" id="maps">
|
||||||
<h2><a href="./">Go by Example</a>: Maps</h2>
|
<h2><a href="./">Go by Example</a>: Maps</h2>
|
||||||
|
4
public/methods
generated
4
public/methods
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Methods</title>
|
<title>Go by Example: Methods</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="methods">
|
<div class="example" id="methods">
|
||||||
<h2><a href="./">Go by Example</a>: Methods</h2>
|
<h2><a href="./">Go by Example</a>: Methods</h2>
|
||||||
|
4
public/multiple-return-values
generated
4
public/multiple-return-values
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Multiple Return Values</title>
|
<title>Go by Example: Multiple Return Values</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="multiple-return-values">
|
<div class="example" id="multiple-return-values">
|
||||||
<h2><a href="./">Go by Example</a>: Multiple Return Values</h2>
|
<h2><a href="./">Go by Example</a>: Multiple Return Values</h2>
|
||||||
|
4
public/mutexes
generated
4
public/mutexes
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Mutexes</title>
|
<title>Go by Example: Mutexes</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="mutexes">
|
<div class="example" id="mutexes">
|
||||||
<h2><a href="./">Go by Example</a>: Mutexes</h2>
|
<h2><a href="./">Go by Example</a>: Mutexes</h2>
|
||||||
|
4
public/non-blocking-channel-operations
generated
4
public/non-blocking-channel-operations
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Non-Blocking Channel Operations</title>
|
<title>Go by Example: Non-Blocking Channel Operations</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="non-blocking-channel-operations">
|
<div class="example" id="non-blocking-channel-operations">
|
||||||
<h2><a href="./">Go by Example</a>: Non-Blocking Channel Operations</h2>
|
<h2><a href="./">Go by Example</a>: Non-Blocking Channel Operations</h2>
|
||||||
|
4
public/number-parsing
generated
4
public/number-parsing
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Number Parsing</title>
|
<title>Go by Example: Number Parsing</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="number-parsing">
|
<div class="example" id="number-parsing">
|
||||||
<h2><a href="./">Go by Example</a>: Number Parsing</h2>
|
<h2><a href="./">Go by Example</a>: Number Parsing</h2>
|
||||||
|
4
public/panic
generated
4
public/panic
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Panic</title>
|
<title>Go by Example: Panic</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="panic">
|
<div class="example" id="panic">
|
||||||
<h2><a href="./">Go by Example</a>: Panic</h2>
|
<h2><a href="./">Go by Example</a>: Panic</h2>
|
||||||
|
4
public/pointers
generated
4
public/pointers
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Pointers</title>
|
<title>Go by Example: Pointers</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="pointers">
|
<div class="example" id="pointers">
|
||||||
<h2><a href="./">Go by Example</a>: Pointers</h2>
|
<h2><a href="./">Go by Example</a>: Pointers</h2>
|
||||||
|
4
public/random-numbers
generated
4
public/random-numbers
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Random Numbers</title>
|
<title>Go by Example: Random Numbers</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="random-numbers">
|
<div class="example" id="random-numbers">
|
||||||
<h2><a href="./">Go by Example</a>: Random Numbers</h2>
|
<h2><a href="./">Go by Example</a>: Random Numbers</h2>
|
||||||
|
4
public/range
generated
4
public/range
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Range</title>
|
<title>Go by Example: Range</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="range">
|
<div class="example" id="range">
|
||||||
<h2><a href="./">Go by Example</a>: Range</h2>
|
<h2><a href="./">Go by Example</a>: Range</h2>
|
||||||
|
4
public/range-over-channels
generated
4
public/range-over-channels
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Range over Channels</title>
|
<title>Go by Example: Range over Channels</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="range-over-channels">
|
<div class="example" id="range-over-channels">
|
||||||
<h2><a href="./">Go by Example</a>: Range over Channels</h2>
|
<h2><a href="./">Go by Example</a>: Range over Channels</h2>
|
||||||
|
4
public/rate-limiting
generated
4
public/rate-limiting
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Rate Limiting</title>
|
<title>Go by Example: Rate Limiting</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="rate-limiting">
|
<div class="example" id="rate-limiting">
|
||||||
<h2><a href="./">Go by Example</a>: Rate Limiting</h2>
|
<h2><a href="./">Go by Example</a>: Rate Limiting</h2>
|
||||||
|
4
public/reading-files
generated
4
public/reading-files
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Reading Files</title>
|
<title>Go by Example: Reading Files</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="reading-files">
|
<div class="example" id="reading-files">
|
||||||
<h2><a href="./">Go by Example</a>: Reading Files</h2>
|
<h2><a href="./">Go by Example</a>: Reading Files</h2>
|
||||||
|
4
public/recover
generated
4
public/recover
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Recover</title>
|
<title>Go by Example: Recover</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="recover">
|
<div class="example" id="recover">
|
||||||
<h2><a href="./">Go by Example</a>: Recover</h2>
|
<h2><a href="./">Go by Example</a>: Recover</h2>
|
||||||
|
4
public/recursion
generated
4
public/recursion
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Recursion</title>
|
<title>Go by Example: Recursion</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="recursion">
|
<div class="example" id="recursion">
|
||||||
<h2><a href="./">Go by Example</a>: Recursion</h2>
|
<h2><a href="./">Go by Example</a>: Recursion</h2>
|
||||||
|
4
public/regular-expressions
generated
4
public/regular-expressions
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Regular Expressions</title>
|
<title>Go by Example: Regular Expressions</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="regular-expressions">
|
<div class="example" id="regular-expressions">
|
||||||
<h2><a href="./">Go by Example</a>: Regular Expressions</h2>
|
<h2><a href="./">Go by Example</a>: Regular Expressions</h2>
|
||||||
|
4
public/select
generated
4
public/select
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Select</title>
|
<title>Go by Example: Select</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="select">
|
<div class="example" id="select">
|
||||||
<h2><a href="./">Go by Example</a>: Select</h2>
|
<h2><a href="./">Go by Example</a>: Select</h2>
|
||||||
|
4
public/sha256-hashes
generated
4
public/sha256-hashes
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: SHA256 Hashes</title>
|
<title>Go by Example: SHA256 Hashes</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="sha256-hashes">
|
<div class="example" id="sha256-hashes">
|
||||||
<h2><a href="./">Go by Example</a>: SHA256 Hashes</h2>
|
<h2><a href="./">Go by Example</a>: SHA256 Hashes</h2>
|
||||||
|
4
public/signals
generated
4
public/signals
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Signals</title>
|
<title>Go by Example: Signals</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="signals">
|
<div class="example" id="signals">
|
||||||
<h2><a href="./">Go by Example</a>: Signals</h2>
|
<h2><a href="./">Go by Example</a>: Signals</h2>
|
||||||
|
4
public/slices
generated
4
public/slices
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Slices</title>
|
<title>Go by Example: Slices</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="slices">
|
<div class="example" id="slices">
|
||||||
<h2><a href="./">Go by Example</a>: Slices</h2>
|
<h2><a href="./">Go by Example</a>: Slices</h2>
|
||||||
|
4
public/sorting
generated
4
public/sorting
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Sorting</title>
|
<title>Go by Example: Sorting</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="sorting">
|
<div class="example" id="sorting">
|
||||||
<h2><a href="./">Go by Example</a>: Sorting</h2>
|
<h2><a href="./">Go by Example</a>: Sorting</h2>
|
||||||
|
4
public/sorting-by-functions
generated
4
public/sorting-by-functions
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Sorting by Functions</title>
|
<title>Go by Example: Sorting by Functions</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="sorting-by-functions">
|
<div class="example" id="sorting-by-functions">
|
||||||
<h2><a href="./">Go by Example</a>: Sorting by Functions</h2>
|
<h2><a href="./">Go by Example</a>: Sorting by Functions</h2>
|
||||||
|
4
public/spawning-processes
generated
4
public/spawning-processes
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Spawning Processes</title>
|
<title>Go by Example: Spawning Processes</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="spawning-processes">
|
<div class="example" id="spawning-processes">
|
||||||
<h2><a href="./">Go by Example</a>: Spawning Processes</h2>
|
<h2><a href="./">Go by Example</a>: Spawning Processes</h2>
|
||||||
|
4
public/stateful-goroutines
generated
4
public/stateful-goroutines
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Stateful Goroutines</title>
|
<title>Go by Example: Stateful Goroutines</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="stateful-goroutines">
|
<div class="example" id="stateful-goroutines">
|
||||||
<h2><a href="./">Go by Example</a>: Stateful Goroutines</h2>
|
<h2><a href="./">Go by Example</a>: Stateful Goroutines</h2>
|
||||||
|
4
public/string-formatting
generated
4
public/string-formatting
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: String Formatting</title>
|
<title>Go by Example: String Formatting</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="string-formatting">
|
<div class="example" id="string-formatting">
|
||||||
<h2><a href="./">Go by Example</a>: String Formatting</h2>
|
<h2><a href="./">Go by Example</a>: String Formatting</h2>
|
||||||
|
4
public/string-functions
generated
4
public/string-functions
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: String Functions</title>
|
<title>Go by Example: String Functions</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="string-functions">
|
<div class="example" id="string-functions">
|
||||||
<h2><a href="./">Go by Example</a>: String Functions</h2>
|
<h2><a href="./">Go by Example</a>: String Functions</h2>
|
||||||
|
4
public/strings-and-runes
generated
4
public/strings-and-runes
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Strings and Runes</title>
|
<title>Go by Example: Strings and Runes</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="strings-and-runes">
|
<div class="example" id="strings-and-runes">
|
||||||
<h2><a href="./">Go by Example</a>: Strings and Runes</h2>
|
<h2><a href="./">Go by Example</a>: Strings and Runes</h2>
|
||||||
|
4
public/struct-embedding
generated
4
public/struct-embedding
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Struct Embedding</title>
|
<title>Go by Example: Struct Embedding</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="struct-embedding">
|
<div class="example" id="struct-embedding">
|
||||||
<h2><a href="./">Go by Example</a>: Struct Embedding</h2>
|
<h2><a href="./">Go by Example</a>: Struct Embedding</h2>
|
||||||
|
4
public/structs
generated
4
public/structs
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Structs</title>
|
<title>Go by Example: Structs</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="structs">
|
<div class="example" id="structs">
|
||||||
<h2><a href="./">Go by Example</a>: Structs</h2>
|
<h2><a href="./">Go by Example</a>: Structs</h2>
|
||||||
|
4
public/switch
generated
4
public/switch
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Switch</title>
|
<title>Go by Example: Switch</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="switch">
|
<div class="example" id="switch">
|
||||||
<h2><a href="./">Go by Example</a>: Switch</h2>
|
<h2><a href="./">Go by Example</a>: Switch</h2>
|
||||||
|
4
public/temporary-files-and-directories
generated
4
public/temporary-files-and-directories
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Temporary Files and Directories</title>
|
<title>Go by Example: Temporary Files and Directories</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="temporary-files-and-directories">
|
<div class="example" id="temporary-files-and-directories">
|
||||||
<h2><a href="./">Go by Example</a>: Temporary Files and Directories</h2>
|
<h2><a href="./">Go by Example</a>: Temporary Files and Directories</h2>
|
||||||
|
4
public/testing-and-benchmarking
generated
4
public/testing-and-benchmarking
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Testing and Benchmarking</title>
|
<title>Go by Example: Testing and Benchmarking</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="testing-and-benchmarking">
|
<div class="example" id="testing-and-benchmarking">
|
||||||
<h2><a href="./">Go by Example</a>: Testing and Benchmarking</h2>
|
<h2><a href="./">Go by Example</a>: Testing and Benchmarking</h2>
|
||||||
|
4
public/text-templates
generated
4
public/text-templates
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Text Templates</title>
|
<title>Go by Example: Text Templates</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="text-templates">
|
<div class="example" id="text-templates">
|
||||||
<h2><a href="./">Go by Example</a>: Text Templates</h2>
|
<h2><a href="./">Go by Example</a>: Text Templates</h2>
|
||||||
|
4
public/tickers
generated
4
public/tickers
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Tickers</title>
|
<title>Go by Example: Tickers</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="tickers">
|
<div class="example" id="tickers">
|
||||||
<h2><a href="./">Go by Example</a>: Tickers</h2>
|
<h2><a href="./">Go by Example</a>: Tickers</h2>
|
||||||
|
4
public/time
generated
4
public/time
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Time</title>
|
<title>Go by Example: Time</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="time">
|
<div class="example" id="time">
|
||||||
<h2><a href="./">Go by Example</a>: Time</h2>
|
<h2><a href="./">Go by Example</a>: Time</h2>
|
||||||
|
4
public/time-formatting-parsing
generated
4
public/time-formatting-parsing
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Time Formatting / Parsing</title>
|
<title>Go by Example: Time Formatting / Parsing</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="time-formatting-parsing">
|
<div class="example" id="time-formatting-parsing">
|
||||||
<h2><a href="./">Go by Example</a>: Time Formatting / Parsing</h2>
|
<h2><a href="./">Go by Example</a>: Time Formatting / Parsing</h2>
|
||||||
|
4
public/timeouts
generated
4
public/timeouts
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Timeouts</title>
|
<title>Go by Example: Timeouts</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="timeouts">
|
<div class="example" id="timeouts">
|
||||||
<h2><a href="./">Go by Example</a>: Timeouts</h2>
|
<h2><a href="./">Go by Example</a>: Timeouts</h2>
|
||||||
|
4
public/timers
generated
4
public/timers
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Timers</title>
|
<title>Go by Example: Timers</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="timers">
|
<div class="example" id="timers">
|
||||||
<h2><a href="./">Go by Example</a>: Timers</h2>
|
<h2><a href="./">Go by Example</a>: Timers</h2>
|
||||||
|
4
public/url-parsing
generated
4
public/url-parsing
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: URL Parsing</title>
|
<title>Go by Example: URL Parsing</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="url-parsing">
|
<div class="example" id="url-parsing">
|
||||||
<h2><a href="./">Go by Example</a>: URL Parsing</h2>
|
<h2><a href="./">Go by Example</a>: URL Parsing</h2>
|
||||||
|
4
public/values
generated
4
public/values
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Values</title>
|
<title>Go by Example: Values</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="values">
|
<div class="example" id="values">
|
||||||
<h2><a href="./">Go by Example</a>: Values</h2>
|
<h2><a href="./">Go by Example</a>: Values</h2>
|
||||||
|
4
public/variables
generated
4
public/variables
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Variables</title>
|
<title>Go by Example: Variables</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="variables">
|
<div class="example" id="variables">
|
||||||
<h2><a href="./">Go by Example</a>: Variables</h2>
|
<h2><a href="./">Go by Example</a>: Variables</h2>
|
||||||
|
4
public/variadic-functions
generated
4
public/variadic-functions
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Variadic Functions</title>
|
<title>Go by Example: Variadic Functions</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="variadic-functions">
|
<div class="example" id="variadic-functions">
|
||||||
<h2><a href="./">Go by Example</a>: Variadic Functions</h2>
|
<h2><a href="./">Go by Example</a>: Variadic Functions</h2>
|
||||||
|
4
public/waitgroups
generated
4
public/waitgroups
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: WaitGroups</title>
|
<title>Go by Example: WaitGroups</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="waitgroups">
|
<div class="example" id="waitgroups">
|
||||||
<h2><a href="./">Go by Example</a>: WaitGroups</h2>
|
<h2><a href="./">Go by Example</a>: WaitGroups</h2>
|
||||||
|
4
public/worker-pools
generated
4
public/worker-pools
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Worker Pools</title>
|
<title>Go by Example: Worker Pools</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="worker-pools">
|
<div class="example" id="worker-pools">
|
||||||
<h2><a href="./">Go by Example</a>: Worker Pools</h2>
|
<h2><a href="./">Go by Example</a>: Worker Pools</h2>
|
||||||
|
4
public/writing-files
generated
4
public/writing-files
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Writing Files</title>
|
<title>Go by Example: Writing Files</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="writing-files">
|
<div class="example" id="writing-files">
|
||||||
<h2><a href="./">Go by Example</a>: Writing Files</h2>
|
<h2><a href="./">Go by Example</a>: Writing Files</h2>
|
||||||
|
4
public/xml
generated
4
public/xml
generated
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: XML</title>
|
<title>Go by Example: XML</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
@ -19,6 +18,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="xml">
|
<div class="example" id="xml">
|
||||||
<h2><a href="./">Go by Example</a>: XML</h2>
|
<h2><a href="./">Go by Example</a>: XML</h2>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: Not Found</title>
|
<title>Go by Example: Not Found</title>
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example: {{.Name}}</title>
|
<title>Go by Example: {{.Name}}</title>
|
||||||
<link rel=stylesheet href="site.css">
|
<link rel=stylesheet href="site.css">
|
||||||
</head>
|
|
||||||
<script>
|
<script>
|
||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
{{if .PrevExample}}
|
{{if .PrevExample}}
|
||||||
@ -19,6 +18,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="example" id="{{.ID}}">
|
<div class="example" id="{{.ID}}">
|
||||||
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
|
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Go by Example</title>
|
<title>Go by Example</title>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user