Add rel="next" to example.tmpl file for the next link (#569)
This commit is contained in:
2
public/arrays
generated
2
public/arrays
generated
@@ -217,7 +217,7 @@ when printed with <code>fmt.Println</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="slices">Slices</a>.
|
||||
Next example: <a href="slices" rel="next">Slices</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/atomic-counters
generated
2
public/atomic-counters
generated
@@ -213,7 +213,7 @@ state.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="mutexes">Mutexes</a>.
|
||||
Next example: <a href="mutexes" rel="next">Mutexes</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/base64-encoding
generated
2
public/base64-encoding
generated
@@ -167,7 +167,7 @@ but they both decode to the original string as desired.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="reading-files">Reading Files</a>.
|
||||
Next example: <a href="reading-files" rel="next">Reading Files</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/channel-buffering
generated
2
public/channel-buffering
generated
@@ -133,7 +133,7 @@ concurrent receive.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="channel-synchronization">Channel Synchronization</a>.
|
||||
Next example: <a href="channel-synchronization" rel="next">Channel Synchronization</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/channel-directions
generated
2
public/channel-directions
generated
@@ -127,7 +127,7 @@ receive on this channel.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="select">Select</a>.
|
||||
Next example: <a href="select" rel="next">Select</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/channel-synchronization
generated
2
public/channel-synchronization
generated
@@ -162,7 +162,7 @@ started.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="channel-directions">Channel Directions</a>.
|
||||
Next example: <a href="channel-directions" rel="next">Channel Directions</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/channels
generated
2
public/channels
generated
@@ -148,7 +148,7 @@ message without having to use any other synchronization.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="channel-buffering">Channel Buffering</a>.
|
||||
Next example: <a href="channel-buffering" rel="next">Channel Buffering</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/closing-channels
generated
2
public/closing-channels
generated
@@ -193,7 +193,7 @@ example: <code>range</code> over channels.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="range-over-channels">Range over Channels</a>.
|
||||
Next example: <a href="range-over-channels" rel="next">Range over Channels</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/closures
generated
2
public/closures
generated
@@ -168,7 +168,7 @@ recursion.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="recursion">Recursion</a>.
|
||||
Next example: <a href="recursion" rel="next">Recursion</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/command-line-arguments
generated
2
public/command-line-arguments
generated
@@ -150,7 +150,7 @@ with flags.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="command-line-flags">Command-Line Flags</a>.
|
||||
Next example: <a href="command-line-flags" rel="next">Command-Line Flags</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/command-line-flags
generated
2
public/command-line-flags
generated
@@ -274,7 +274,7 @@ and show the help text again.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="command-line-subcommands">Command-Line Subcommands</a>.
|
||||
Next example: <a href="command-line-subcommands" rel="next">Command-Line Subcommands</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/command-line-subcommands
generated
2
public/command-line-subcommands
generated
@@ -233,7 +233,7 @@ way to parameterize programs.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="environment-variables">Environment Variables</a>.
|
||||
Next example: <a href="environment-variables" rel="next">Environment Variables</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/constants
generated
2
public/constants
generated
@@ -159,7 +159,7 @@ assignment or function call. For example, here
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="for">For</a>.
|
||||
Next example: <a href="for" rel="next">For</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/context
generated
2
public/context
generated
@@ -179,7 +179,7 @@ cancellation.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="spawning-processes">Spawning Processes</a>.
|
||||
Next example: <a href="spawning-processes" rel="next">Spawning Processes</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/custom-errors
generated
2
public/custom-errors
generated
@@ -171,7 +171,7 @@ returns <code>false</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="goroutines">Goroutines</a>.
|
||||
Next example: <a href="goroutines" rel="next">Goroutines</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/defer
generated
2
public/defer
generated
@@ -186,7 +186,7 @@ after being written.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="recover">Recover</a>.
|
||||
Next example: <a href="recover" rel="next">Recover</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/directories
generated
2
public/directories
generated
@@ -309,7 +309,7 @@ recursively by <code>filepath.WalkDir</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="temporary-files-and-directories">Temporary Files and Directories</a>.
|
||||
Next example: <a href="temporary-files-and-directories" rel="next">Temporary Files and Directories</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/embed-directive
generated
2
public/embed-directive
generated
@@ -182,7 +182,7 @@ this example can only be run on your local machine.)</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="testing-and-benchmarking">Testing and Benchmarking</a>.
|
||||
Next example: <a href="testing-and-benchmarking" rel="next">Testing and Benchmarking</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/enums
generated
2
public/enums
generated
@@ -212,7 +212,7 @@ determine the next state…</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="struct-embedding">Struct Embedding</a>.
|
||||
Next example: <a href="struct-embedding" rel="next">Struct Embedding</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/environment-variables
generated
2
public/environment-variables
generated
@@ -165,7 +165,7 @@ program picks that value up.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="logging">Logging</a>.
|
||||
Next example: <a href="logging" rel="next">Logging</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/epoch
generated
2
public/epoch
generated
@@ -151,7 +151,7 @@ parsing and formatting.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="time-formatting-parsing">Time Formatting / Parsing</a>.
|
||||
Next example: <a href="time-formatting-parsing" rel="next">Time Formatting / Parsing</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/errors
generated
2
public/errors
generated
@@ -255,7 +255,7 @@ errors in a chain of errors.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="custom-errors">Custom Errors</a>.
|
||||
Next example: <a href="custom-errors" rel="next">Custom Errors</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/execing-processes
generated
2
public/execing-processes
generated
@@ -181,7 +181,7 @@ processes covers most use cases for <code>fork</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="signals">Signals</a>.
|
||||
Next example: <a href="signals" rel="next">Signals</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/file-paths
generated
2
public/file-paths
generated
@@ -218,7 +218,7 @@ be made relative to base.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="directories">Directories</a>.
|
||||
Next example: <a href="directories" rel="next">Directories</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/for
generated
2
public/for
generated
@@ -190,7 +190,7 @@ structures.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="if-else">If/Else</a>.
|
||||
Next example: <a href="if-else" rel="next">If/Else</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/functions
generated
2
public/functions
generated
@@ -169,7 +169,7 @@ multiple return values, which we’ll look at next.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="multiple-return-values">Multiple Return Values</a>.
|
||||
Next example: <a href="multiple-return-values" rel="next">Multiple Return Values</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/generics
generated
2
public/generics
generated
@@ -225,7 +225,7 @@ automatically.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="range-over-iterators">Range over Iterators</a>.
|
||||
Next example: <a href="range-over-iterators" rel="next">Range over Iterators</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/goroutines
generated
2
public/goroutines
generated
@@ -184,7 +184,7 @@ concurrent Go programs: channels.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="channels">Channels</a>.
|
||||
Next example: <a href="channels" rel="next">Channels</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/hello-world
generated
2
public/hello-world
generated
@@ -117,7 +117,7 @@ learn more about the language.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="values">Values</a>.
|
||||
Next example: <a href="values" rel="next">Values</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/http-client
generated
2
public/http-client
generated
@@ -147,7 +147,7 @@ settings.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="http-server">HTTP Server</a>.
|
||||
Next example: <a href="http-server" rel="next">HTTP Server</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/http-server
generated
2
public/http-server
generated
@@ -182,7 +182,7 @@ router we’ve just set up.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="context">Context</a>.
|
||||
Next example: <a href="context" rel="next">Context</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/if-else
generated
2
public/if-else
generated
@@ -179,7 +179,7 @@ for basic conditions.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="switch">Switch</a>.
|
||||
Next example: <a href="switch" rel="next">Switch</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/interfaces
generated
2
public/interfaces
generated
@@ -239,7 +239,7 @@ check out this <a href="https://research.swtch.com/interfaces">blog post</a>.</p
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="enums">Enums</a>.
|
||||
Next example: <a href="enums" rel="next">Enums</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/json
generated
2
public/json
generated
@@ -385,7 +385,7 @@ for more.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="xml">XML</a>.
|
||||
Next example: <a href="xml" rel="next">XML</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/line-filters
generated
2
public/line-filters
generated
@@ -178,7 +178,7 @@ lowercase lines.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="file-paths">File Paths</a>.
|
||||
Next example: <a href="file-paths" rel="next">File Paths</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/logging
generated
2
public/logging
generated
@@ -261,7 +261,7 @@ on a single line.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="http-client">HTTP Client</a>.
|
||||
Next example: <a href="http-client" rel="next">HTTP Client</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/maps
generated
2
public/maps
generated
@@ -250,7 +250,7 @@ printed with <code>fmt.Println</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="functions">Functions</a>.
|
||||
Next example: <a href="functions" rel="next">Functions</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/methods
generated
2
public/methods
generated
@@ -173,7 +173,7 @@ naming related sets of methods: interfaces.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="interfaces">Interfaces</a>.
|
||||
Next example: <a href="interfaces" rel="next">Interfaces</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/multiple-return-values
generated
2
public/multiple-return-values
generated
@@ -146,7 +146,7 @@ feature of Go functions; we’ll look at this next.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="variadic-functions">Variadic Functions</a>.
|
||||
Next example: <a href="variadic-functions" rel="next">Variadic Functions</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/mutexes
generated
2
public/mutexes
generated
@@ -223,7 +223,7 @@ management task using only goroutines and channels.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="stateful-goroutines">Stateful Goroutines</a>.
|
||||
Next example: <a href="stateful-goroutines" rel="next">Stateful Goroutines</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/non-blocking-channel-operations
generated
2
public/non-blocking-channel-operations
generated
@@ -156,7 +156,7 @@ on both <code>messages</code> and <code>signals</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="closing-channels">Closing Channels</a>.
|
||||
Next example: <a href="closing-channels" rel="next">Closing Channels</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/number-parsing
generated
2
public/number-parsing
generated
@@ -187,7 +187,7 @@ bits.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="url-parsing">URL Parsing</a>.
|
||||
Next example: <a href="url-parsing" rel="next">URL Parsing</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/panic
generated
2
public/panic
generated
@@ -166,7 +166,7 @@ to use error-indicating return values wherever possible.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="defer">Defer</a>.
|
||||
Next example: <a href="defer" rel="next">Defer</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/pointers
generated
2
public/pointers
generated
@@ -169,7 +169,7 @@ the memory address for that variable.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="strings-and-runes">Strings and Runes</a>.
|
||||
Next example: <a href="strings-and-runes" rel="next">Strings and Runes</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/random-numbers
generated
2
public/random-numbers
generated
@@ -187,7 +187,7 @@ that Go can provide.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="number-parsing">Number Parsing</a>.
|
||||
Next example: <a href="number-parsing" rel="next">Number Parsing</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/range-over-built-in-types
generated
2
public/range-over-built-in-types
generated
@@ -179,7 +179,7 @@ details.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="pointers">Pointers</a>.
|
||||
Next example: <a href="pointers" rel="next">Pointers</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/range-over-channels
generated
2
public/range-over-channels
generated
@@ -136,7 +136,7 @@ values be received.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="timers">Timers</a>.
|
||||
Next example: <a href="timers" rel="next">Timers</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/range-over-iterators
generated
2
public/range-over-iterators
generated
@@ -278,7 +278,7 @@ passed to the iterator will return <code>false</code>.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="errors">Errors</a>.
|
||||
Next example: <a href="errors" rel="next">Errors</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/rate-limiting
generated
2
public/rate-limiting
generated
@@ -231,7 +231,7 @@ then serve the remaining 2 with ~200ms delays each.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="atomic-counters">Atomic Counters</a>.
|
||||
Next example: <a href="atomic-counters" rel="next">Atomic Counters</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/reading-files
generated
2
public/reading-files
generated
@@ -279,7 +279,7 @@ be scheduled immediately after <code>Open</code>ing with
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="writing-files">Writing Files</a>.
|
||||
Next example: <a href="writing-files" rel="next">Writing Files</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/recover
generated
2
public/recover
generated
@@ -174,7 +174,7 @@ panic and resumes in the deferred closure.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="string-functions">String Functions</a>.
|
||||
Next example: <a href="string-functions" rel="next">String Functions</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/recursion
generated
2
public/recursion
generated
@@ -159,7 +159,7 @@ knows which function to call with <code>fib</code> here.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="range-over-built-in-types">Range over Built-in Types</a>.
|
||||
Next example: <a href="range-over-built-in-types" rel="next">Range over Built-in Types</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/regular-expressions
generated
2
public/regular-expressions
generated
@@ -301,7 +301,7 @@ the <a href="https://pkg.go.dev/regexp"><code>regexp</code></a> package docs.</p
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="json">JSON</a>.
|
||||
Next example: <a href="json" rel="next">JSON</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/select
generated
2
public/select
generated
@@ -161,7 +161,7 @@ concurrently.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="timeouts">Timeouts</a>.
|
||||
Next example: <a href="timeouts" rel="next">Timeouts</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/sha256-hashes
generated
2
public/sha256-hashes
generated
@@ -176,7 +176,7 @@ you should carefully research
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="base64-encoding">Base64 Encoding</a>.
|
||||
Next example: <a href="base64-encoding" rel="next">Base64 Encoding</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/signals
generated
2
public/signals
generated
@@ -188,7 +188,7 @@ causing the program to print <code>interrupt</code> and then exit.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="exit">Exit</a>.
|
||||
Next example: <a href="exit" rel="next">Exit</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/slices
generated
2
public/slices
generated
@@ -311,7 +311,7 @@ Go’s other key builtin data structure: maps.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="maps">Maps</a>.
|
||||
Next example: <a href="maps" rel="next">Maps</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/sorting
generated
2
public/sorting
generated
@@ -137,7 +137,7 @@ a slice is already in sorted order.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="sorting-by-functions">Sorting by Functions</a>.
|
||||
Next example: <a href="sorting-by-functions" rel="next">Sorting by Functions</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/sorting-by-functions
generated
2
public/sorting-by-functions
generated
@@ -175,7 +175,7 @@ doubt, <a href="testing-and-benchmarking">benchmark</a>!</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="panic">Panic</a>.
|
||||
Next example: <a href="panic" rel="next">Panic</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/spawning-processes
generated
2
public/spawning-processes
generated
@@ -253,7 +253,7 @@ an error message and non-zero return code.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="execing-processes">Exec'ing Processes</a>.
|
||||
Next example: <a href="execing-processes" rel="next">Exec'ing Processes</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/stateful-goroutines
generated
2
public/stateful-goroutines
generated
@@ -282,7 +282,7 @@ program.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="sorting">Sorting</a>.
|
||||
Next example: <a href="sorting" rel="next">Sorting</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/string-formatting
generated
2
public/string-formatting
generated
@@ -397,7 +397,7 @@ and returns a string without printing it anywhere.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="text-templates">Text Templates</a>.
|
||||
Next example: <a href="text-templates" rel="next">Text Templates</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/string-functions
generated
2
public/string-functions
generated
@@ -145,7 +145,7 @@ package docs.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="string-formatting">String Formatting</a>.
|
||||
Next example: <a href="string-formatting" rel="next">String Formatting</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/strings-and-runes
generated
2
public/strings-and-runes
generated
@@ -253,7 +253,7 @@ can compare a <code>rune</code> value to a rune literal directly.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="structs">Structs</a>.
|
||||
Next example: <a href="structs" rel="next">Structs</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/struct-embedding
generated
2
public/struct-embedding
generated
@@ -218,7 +218,7 @@ we see that a <code>container</code> now implements the
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="generics">Generics</a>.
|
||||
Next example: <a href="generics" rel="next">Generics</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/structs
generated
2
public/structs
generated
@@ -254,7 +254,7 @@ struct type. This technique is commonly used for
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="methods">Methods</a>.
|
||||
Next example: <a href="methods" rel="next">Methods</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/switch
generated
2
public/switch
generated
@@ -181,7 +181,7 @@ type corresponding to its clause.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="arrays">Arrays</a>.
|
||||
Next example: <a href="arrays" rel="next">Arrays</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/temporary-files-and-directories
generated
2
public/temporary-files-and-directories
generated
@@ -211,7 +211,7 @@ prefixing them with our temporary directory.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="embed-directive">Embed Directive</a>.
|
||||
Next example: <a href="embed-directive" rel="next">Embed Directive</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/testing-and-benchmarking
generated
2
public/testing-and-benchmarking
generated
@@ -255,7 +255,7 @@ benchmark function names with a regexp.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="command-line-arguments">Command-Line Arguments</a>.
|
||||
Next example: <a href="command-line-arguments" rel="next">Command-Line Arguments</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/text-templates
generated
2
public/text-templates
generated
@@ -243,7 +243,7 @@ the range block <code>{{.}}</code> is set to the current item of the iteration.<
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="regular-expressions">Regular Expressions</a>.
|
||||
Next example: <a href="regular-expressions" rel="next">Regular Expressions</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/tickers
generated
2
public/tickers
generated
@@ -151,7 +151,7 @@ before we stop it.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="worker-pools">Worker Pools</a>.
|
||||
Next example: <a href="worker-pools" rel="next">Worker Pools</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/time
generated
2
public/time
generated
@@ -240,7 +240,7 @@ the Unix epoch.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="epoch">Epoch</a>.
|
||||
Next example: <a href="epoch" rel="next">Epoch</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/time-formatting-parsing
generated
2
public/time-formatting-parsing
generated
@@ -180,7 +180,7 @@ explaining the parsing problem.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="random-numbers">Random Numbers</a>.
|
||||
Next example: <a href="random-numbers" rel="next">Random Numbers</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/timeouts
generated
2
public/timeouts
generated
@@ -161,7 +161,7 @@ out and the second succeeding.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="non-blocking-channel-operations">Non-Blocking Channel Operations</a>.
|
||||
Next example: <a href="non-blocking-channel-operations" rel="next">Non-Blocking Channel Operations</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/timers
generated
2
public/timers
generated
@@ -162,7 +162,7 @@ a chance to fire.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="tickers">Tickers</a>.
|
||||
Next example: <a href="tickers" rel="next">Tickers</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/url-parsing
generated
2
public/url-parsing
generated
@@ -207,7 +207,7 @@ pieces that we extracted.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="sha256-hashes">SHA256 Hashes</a>.
|
||||
Next example: <a href="sha256-hashes" rel="next">SHA256 Hashes</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/values
generated
2
public/values
generated
@@ -132,7 +132,7 @@ basic examples.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="variables">Variables</a>.
|
||||
Next example: <a href="variables" rel="next">Variables</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/variables
generated
2
public/variables
generated
@@ -160,7 +160,7 @@ This syntax is only available inside functions.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="constants">Constants</a>.
|
||||
Next example: <a href="constants" rel="next">Constants</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/variadic-functions
generated
2
public/variadic-functions
generated
@@ -164,7 +164,7 @@ to form closures, which we’ll look at next.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="closures">Closures</a>.
|
||||
Next example: <a href="closures" rel="next">Closures</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/waitgroups
generated
2
public/waitgroups
generated
@@ -209,7 +209,7 @@ is likely to be different for each invocation.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="rate-limiting">Rate Limiting</a>.
|
||||
Next example: <a href="rate-limiting" rel="next">Rate Limiting</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/worker-pools
generated
2
public/worker-pools
generated
@@ -198,7 +198,7 @@ there are 3 workers operating concurrently.</p>
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="waitgroups">WaitGroups</a>.
|
||||
Next example: <a href="waitgroups" rel="next">WaitGroups</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/writing-files
generated
2
public/writing-files
generated
@@ -252,7 +252,7 @@ we’ve just seen to the <code>stdin</code> and <code>stdout</code> streams.
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="line-filters">Line Filters</a>.
|
||||
Next example: <a href="line-filters" rel="next">Line Filters</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
2
public/xml
generated
2
public/xml
generated
@@ -249,7 +249,7 @@ to nest all <code>plant</code>s under <code><parent><child>...</code
|
||||
|
||||
|
||||
<p class="next">
|
||||
Next example: <a href="time">Time</a>.
|
||||
Next example: <a href="time" rel="next">Time</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
@@ -42,7 +42,7 @@
|
||||
{{end}}
|
||||
{{if .NextExample}}
|
||||
<p class="next">
|
||||
Next example: <a href="{{.NextExample.ID}}">{{.NextExample.Name}}</a>.
|
||||
Next example: <a href="{{.NextExample.ID}}" rel="next">{{.NextExample.Name}}</a>.
|
||||
</p>
|
||||
{{end}}
|
||||
{{ template "footer" }}
|
||||
|
Reference in New Issue
Block a user