Reorder examples slightly
Text Templates should come right after String Formatting
This commit is contained in:
parent
0751f43b3a
commit
1fa5cff95c
@ -47,8 +47,8 @@ Recover
|
|||||||
Collection Functions
|
Collection Functions
|
||||||
String Functions
|
String Functions
|
||||||
String Formatting
|
String Formatting
|
||||||
Regular Expressions
|
|
||||||
Text Templates
|
Text Templates
|
||||||
|
Regular Expressions
|
||||||
JSON
|
JSON
|
||||||
XML
|
XML
|
||||||
Time
|
Time
|
||||||
|
4
public/index.html
generated
4
public/index.html
generated
@ -125,10 +125,10 @@
|
|||||||
|
|
||||||
<li><a href="string-formatting">String Formatting</a></li>
|
<li><a href="string-formatting">String Formatting</a></li>
|
||||||
|
|
||||||
<li><a href="regular-expressions">Regular Expressions</a></li>
|
|
||||||
|
|
||||||
<li><a href="text-templates">Text Templates</a></li>
|
<li><a href="text-templates">Text Templates</a></li>
|
||||||
|
|
||||||
|
<li><a href="regular-expressions">Regular Expressions</a></li>
|
||||||
|
|
||||||
<li><a href="json">JSON</a></li>
|
<li><a href="json">JSON</a></li>
|
||||||
|
|
||||||
<li><a href="xml">XML</a></li>
|
<li><a href="xml">XML</a></li>
|
||||||
|
2
public/json
generated
2
public/json
generated
@ -9,7 +9,7 @@
|
|||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
if (e.key == "ArrowLeft") {
|
if (e.key == "ArrowLeft") {
|
||||||
window.location.href = 'text-templates';
|
window.location.href = 'regular-expressions';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
6
public/regular-expressions
generated
6
public/regular-expressions
generated
@ -9,12 +9,12 @@
|
|||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
if (e.key == "ArrowLeft") {
|
if (e.key == "ArrowLeft") {
|
||||||
window.location.href = 'string-formatting';
|
window.location.href = 'text-templates';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (e.key == "ArrowRight") {
|
if (e.key == "ArrowRight") {
|
||||||
window.location.href = 'text-templates';
|
window.location.href = 'json';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -329,7 +329,7 @@ the <a href="http://golang.org/pkg/regexp/"><code>regexp</code></a> package docs
|
|||||||
|
|
||||||
|
|
||||||
<p class="next">
|
<p class="next">
|
||||||
Next example: <a href="text-templates">Text Templates</a>.
|
Next example: <a href="json">JSON</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
4
public/string-formatting
generated
4
public/string-formatting
generated
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
if (e.key == "ArrowRight") {
|
if (e.key == "ArrowRight") {
|
||||||
window.location.href = 'regular-expressions';
|
window.location.href = 'text-templates';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -442,7 +442,7 @@ and returns a string without printing it anywhere.</p>
|
|||||||
|
|
||||||
|
|
||||||
<p class="next">
|
<p class="next">
|
||||||
Next example: <a href="regular-expressions">Regular Expressions</a>.
|
Next example: <a href="text-templates">Text Templates</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
6
public/text-templates
generated
6
public/text-templates
generated
@ -9,12 +9,12 @@
|
|||||||
onkeydown = (e) => {
|
onkeydown = (e) => {
|
||||||
|
|
||||||
if (e.key == "ArrowLeft") {
|
if (e.key == "ArrowLeft") {
|
||||||
window.location.href = 'regular-expressions';
|
window.location.href = 'string-formatting';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (e.key == "ArrowRight") {
|
if (e.key == "ArrowRight") {
|
||||||
window.location.href = 'json';
|
window.location.href = 'regular-expressions';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -260,7 +260,7 @@ the range block <code>{{.}}</code> is set to the current item of the iteration.<
|
|||||||
|
|
||||||
|
|
||||||
<p class="next">
|
<p class="next">
|
||||||
Next example: <a href="json">JSON</a>.
|
Next example: <a href="regular-expressions">Regular Expressions</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user