Examples: fix invalid html

Add lang attribute to html tag
This commit is contained in:
Andreas Deininger 2022-07-11 17:22:32 +02:00
parent 73cd7a73bb
commit aff87f6232
85 changed files with 1211 additions and 1211 deletions

2
public/404.html generated
View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Not Found</title>

4
public/arrays generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Arrays</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="arrays">
<h2><a href="./">Go by Example</a>: Arrays</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Atomic Counters</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="atomic-counters">
<h2><a href="./">Go by Example</a>: Atomic Counters</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Base64 Encoding</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="base64-encoding">
<h2><a href="./">Go by Example</a>: Base64 Encoding</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Channel Buffering</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="channel-buffering">
<h2><a href="./">Go by Example</a>: Channel Buffering</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Channel Directions</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="channel-directions">
<h2><a href="./">Go by Example</a>: Channel Directions</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Channel Synchronization</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="channel-synchronization">
<h2><a href="./">Go by Example</a>: Channel Synchronization</h2>

4
public/channels generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Channels</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="channels">
<h2><a href="./">Go by Example</a>: Channels</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Closing Channels</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="closing-channels">
<h2><a href="./">Go by Example</a>: Closing Channels</h2>

4
public/closures generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Closures</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="closures">
<h2><a href="./">Go by Example</a>: Closures</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Command-Line Arguments</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="command-line-arguments">
<h2><a href="./">Go by Example</a>: Command-Line Arguments</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Command-Line Flags</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="command-line-flags">
<h2><a href="./">Go by Example</a>: Command-Line Flags</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Command-Line Subcommands</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="command-line-subcommands">
<h2><a href="./">Go by Example</a>: Command-Line Subcommands</h2>

4
public/constants generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Constants</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="constants">
<h2><a href="./">Go by Example</a>: Constants</h2>

4
public/context generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Context</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="context">
<h2><a href="./">Go by Example</a>: Context</h2>

4
public/defer generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Defer</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="defer">
<h2><a href="./">Go by Example</a>: Defer</h2>

4
public/directories generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Directories</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="directories">
<h2><a href="./">Go by Example</a>: Directories</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Embed Directive</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="embed-directive">
<h2><a href="./">Go by Example</a>: Embed Directive</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Environment Variables</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="environment-variables">
<h2><a href="./">Go by Example</a>: Environment Variables</h2>

4
public/epoch generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Epoch</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="epoch">
<h2><a href="./">Go by Example</a>: Epoch</h2>

4
public/errors generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Errors</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="errors">
<h2><a href="./">Go by Example</a>: Errors</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Exec'ing Processes</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="execing-processes">
<h2><a href="./">Go by Example</a>: Exec'ing Processes</h2>

4
public/exit generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Exit</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -15,6 +14,7 @@
}
</script>
</head>
<body>
<div class="example" id="exit">
<h2><a href="./">Go by Example</a>: Exit</h2>

4
public/file-paths generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: File Paths</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="file-paths">
<h2><a href="./">Go by Example</a>: File Paths</h2>

4
public/for generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: For</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="for">
<h2><a href="./">Go by Example</a>: For</h2>

4
public/functions generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Functions</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="functions">
<h2><a href="./">Go by Example</a>: Functions</h2>

4
public/generics generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Generics</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="generics">
<h2><a href="./">Go by Example</a>: Generics</h2>

4
public/goroutines generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Goroutines</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="goroutines">
<h2><a href="./">Go by Example</a>: Goroutines</h2>

4
public/hello-world generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Hello World</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -15,6 +14,7 @@
}
</script>
</head>
<body>
<div class="example" id="hello-world">
<h2><a href="./">Go by Example</a>: Hello World</h2>

4
public/http-clients generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: HTTP Clients</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="http-clients">
<h2><a href="./">Go by Example</a>: HTTP Clients</h2>

4
public/http-servers generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: HTTP Servers</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="http-servers">
<h2><a href="./">Go by Example</a>: HTTP Servers</h2>

4
public/if-else generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: If/Else</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="if-else">
<h2><a href="./">Go by Example</a>: If/Else</h2>

2
public/index.html generated
View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example</title>

4
public/interfaces generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Interfaces</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="interfaces">
<h2><a href="./">Go by Example</a>: Interfaces</h2>

4
public/json generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: JSON</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="json">
<h2><a href="./">Go by Example</a>: JSON</h2>

4
public/line-filters generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Line Filters</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="line-filters">
<h2><a href="./">Go by Example</a>: Line Filters</h2>

4
public/maps generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Maps</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="maps">
<h2><a href="./">Go by Example</a>: Maps</h2>

4
public/methods generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Methods</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="methods">
<h2><a href="./">Go by Example</a>: Methods</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Multiple Return Values</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="multiple-return-values">
<h2><a href="./">Go by Example</a>: Multiple Return Values</h2>

4
public/mutexes generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Mutexes</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="mutexes">
<h2><a href="./">Go by Example</a>: Mutexes</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Non-Blocking Channel Operations</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="non-blocking-channel-operations">
<h2><a href="./">Go by Example</a>: Non-Blocking Channel Operations</h2>

4
public/number-parsing generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Number Parsing</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="number-parsing">
<h2><a href="./">Go by Example</a>: Number Parsing</h2>

4
public/panic generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Panic</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="panic">
<h2><a href="./">Go by Example</a>: Panic</h2>

4
public/pointers generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Pointers</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="pointers">
<h2><a href="./">Go by Example</a>: Pointers</h2>

4
public/random-numbers generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Random Numbers</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="random-numbers">
<h2><a href="./">Go by Example</a>: Random Numbers</h2>

4
public/range generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Range</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="range">
<h2><a href="./">Go by Example</a>: Range</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Range over Channels</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="range-over-channels">
<h2><a href="./">Go by Example</a>: Range over Channels</h2>

4
public/rate-limiting generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Rate Limiting</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="rate-limiting">
<h2><a href="./">Go by Example</a>: Rate Limiting</h2>

4
public/reading-files generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Reading Files</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="reading-files">
<h2><a href="./">Go by Example</a>: Reading Files</h2>

4
public/recover generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Recover</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="recover">
<h2><a href="./">Go by Example</a>: Recover</h2>

4
public/recursion generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Recursion</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="recursion">
<h2><a href="./">Go by Example</a>: Recursion</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Regular Expressions</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="regular-expressions">
<h2><a href="./">Go by Example</a>: Regular Expressions</h2>

4
public/select generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Select</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="select">
<h2><a href="./">Go by Example</a>: Select</h2>

4
public/sha256-hashes generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: SHA256 Hashes</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="sha256-hashes">
<h2><a href="./">Go by Example</a>: SHA256 Hashes</h2>

4
public/signals generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Signals</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="signals">
<h2><a href="./">Go by Example</a>: Signals</h2>

4
public/slices generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Slices</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="slices">
<h2><a href="./">Go by Example</a>: Slices</h2>

4
public/sorting generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Sorting</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="sorting">
<h2><a href="./">Go by Example</a>: Sorting</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Sorting by Functions</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="sorting-by-functions">
<h2><a href="./">Go by Example</a>: Sorting by Functions</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Spawning Processes</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="spawning-processes">
<h2><a href="./">Go by Example</a>: Spawning Processes</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Stateful Goroutines</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="stateful-goroutines">
<h2><a href="./">Go by Example</a>: Stateful Goroutines</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: String Formatting</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="string-formatting">
<h2><a href="./">Go by Example</a>: String Formatting</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: String Functions</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="string-functions">
<h2><a href="./">Go by Example</a>: String Functions</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Strings and Runes</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="strings-and-runes">
<h2><a href="./">Go by Example</a>: Strings and Runes</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Struct Embedding</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="struct-embedding">
<h2><a href="./">Go by Example</a>: Struct Embedding</h2>

4
public/structs generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Structs</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="structs">
<h2><a href="./">Go by Example</a>: Structs</h2>

4
public/switch generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Switch</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="switch">
<h2><a href="./">Go by Example</a>: Switch</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Temporary Files and Directories</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="temporary-files-and-directories">
<h2><a href="./">Go by Example</a>: Temporary Files and Directories</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Testing and Benchmarking</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="testing-and-benchmarking">
<h2><a href="./">Go by Example</a>: Testing and Benchmarking</h2>

4
public/text-templates generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Text Templates</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="text-templates">
<h2><a href="./">Go by Example</a>: Text Templates</h2>

4
public/tickers generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Tickers</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="tickers">
<h2><a href="./">Go by Example</a>: Tickers</h2>

4
public/time generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Time</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="time">
<h2><a href="./">Go by Example</a>: Time</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Time Formatting / Parsing</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="time-formatting-parsing">
<h2><a href="./">Go by Example</a>: Time Formatting / Parsing</h2>

4
public/timeouts generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Timeouts</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="timeouts">
<h2><a href="./">Go by Example</a>: Timeouts</h2>

4
public/timers generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Timers</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="timers">
<h2><a href="./">Go by Example</a>: Timers</h2>

4
public/url-parsing generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: URL Parsing</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="url-parsing">
<h2><a href="./">Go by Example</a>: URL Parsing</h2>

4
public/values generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Values</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="values">
<h2><a href="./">Go by Example</a>: Values</h2>

4
public/variables generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Variables</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="variables">
<h2><a href="./">Go by Example</a>: Variables</h2>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Variadic Functions</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="variadic-functions">
<h2><a href="./">Go by Example</a>: Variadic Functions</h2>

4
public/waitgroups generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: WaitGroups</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="waitgroups">
<h2><a href="./">Go by Example</a>: WaitGroups</h2>

4
public/worker-pools generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Worker Pools</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="worker-pools">
<h2><a href="./">Go by Example</a>: Worker Pools</h2>

4
public/writing-files generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Writing Files</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="writing-files">
<h2><a href="./">Go by Example</a>: Writing Files</h2>

4
public/xml generated
View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: XML</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
@ -19,6 +18,7 @@
}
</script>
</head>
<body>
<div class="example" id="xml">
<h2><a href="./">Go by Example</a>: XML</h2>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: Not Found</title>

View File

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example: {{.Name}}</title>
<link rel=stylesheet href="site.css">
</head>
<script>
onkeydown = (e) => {
{{if .PrevExample}}
@ -19,6 +18,7 @@
{{end}}
}
</script>
</head>
<body>
<div class="example" id="{{.ID}}">
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Go by Example</title>