mirror of
https://github.com/teivah/100-go-mistakes.git
synced 2026-06-21 00:47:11 +08:00
Adding the coder cafe links.
This commit is contained in:
parent
b79d1135ae
commit
da2a7355f8
25 changed files with 65 additions and 277 deletions
BIN
docs/img/thecodercafe.png
Normal file
BIN
docs/img/thecodercafe.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
|
|
@ -6,6 +6,14 @@ status: new
|
||||||
|
|
||||||
# Common Go Mistakes
|
# Common Go Mistakes
|
||||||
|
|
||||||
|
???+ tip "The Coder Cafe"
|
||||||
|
|
||||||
|
If you enjoyed my book, you may be interested in my latest project: [The Coder Cafe](https://thecoder.cafe), a daily newsletter for coders.
|
||||||
|
|
||||||
|
> Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.
|
||||||
|
|
||||||
|
<center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center>
|
||||||
|
|
||||||
This page is a summary of the mistakes in the [100 Go Mistakes and How to Avoid Them book](book.md). Meanwhile, it's also open to the community. If you believe that a common Go mistake should be added, please create an [issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=).
|
This page is a summary of the mistakes in the [100 Go Mistakes and How to Avoid Them book](book.md). Meanwhile, it's also open to the community. If you believe that a common Go mistake should be added, please create an [issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=).
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,14 @@ comments: true
|
||||||
|
|
||||||
# Go言語でありがちな間違い
|
# Go言語でありがちな間違い
|
||||||
|
|
||||||
|
???+ tip "The Coder Cafe"
|
||||||
|
|
||||||
|
もし私の本を楽しんでいただけたなら、私の最新プロジェクトにもご興味があるかもしれません。[The Coder Cafe](https://thecoder.cafe)は、コーダー向けの日刊ニュースレターです。
|
||||||
|
|
||||||
|
> Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.
|
||||||
|
|
||||||
|
<center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center>
|
||||||
|
|
||||||
このページは『100 Go Mistakes』の内容をまとめたものです。一方で、コミュニティに開かれたページでもあります。「ありがちな間違い」が新たに追加されるべきだとお考えでしたら [community mistake issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=) を作成してください。
|
このページは『100 Go Mistakes』の内容をまとめたものです。一方で、コミュニティに開かれたページでもあります。「ありがちな間違い」が新たに追加されるべきだとお考えでしたら [community mistake issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=) を作成してください。
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,14 @@ comments: true
|
||||||
|
|
||||||
# Erros comuns de Go
|
# Erros comuns de Go
|
||||||
|
|
||||||
|
???+ tip "The Coder Cafe"
|
||||||
|
|
||||||
|
Se você gostou do meu livro, talvez se interesse pelo meu novo projeto: [The Coder Cafe](https://thecoder.cafe), uma newsletter diária para programadores.
|
||||||
|
|
||||||
|
> Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.
|
||||||
|
|
||||||
|
<center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center>
|
||||||
|
|
||||||
Esta página é um resumo dos erros do [100 Go Mistakes and How to Avoid Them book](book.md). Enquanto isso, também está aberto à comunidade. Se você acredita que um erro comum do Go deve ser adicionado, crie uma [issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=).
|
Esta página é um resumo dos erros do [100 Go Mistakes and How to Avoid Them book](book.md). Enquanto isso, também está aberto à comunidade. Se você acredita que um erro comum do Go deve ser adicionado, crie uma [issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=).
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,14 @@ comments: true
|
||||||
|
|
||||||
# 100 个 Go 常见错误及如何避免
|
# 100 个 Go 常见错误及如何避免
|
||||||
|
|
||||||
|
???+ tip "The Coder Cafe"
|
||||||
|
|
||||||
|
如果您喜欢我的书,您可能会对我的最新项目感兴趣:[The Coder Cafe](https://thecoder.cafe),这是一个为程序员提供的每日简报。
|
||||||
|
|
||||||
|
> Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.
|
||||||
|
|
||||||
|
<center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 代码及工程组织
|
## 代码及工程组织
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block announce %}
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -82,23 +82,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
17
site/external/index.html
vendored
17
site/external/index.html
vendored
|
|
@ -126,23 +126,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
BIN
site/img/thecodercafe.png
Normal file
BIN
site/img/thecodercafe.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3435,6 +3418,14 @@
|
||||||
|
|
||||||
|
|
||||||
<h1 id="common-go-mistakes">Common Go Mistakes</h1>
|
<h1 id="common-go-mistakes">Common Go Mistakes</h1>
|
||||||
|
<details class="tip" open="open">
|
||||||
|
<summary>The Coder Cafe</summary>
|
||||||
|
<p>If you enjoyed my book, you may be interested in my latest project: <a href="https://thecoder.cafe">The Coder Cafe</a>, a daily newsletter for coders.</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
|
||||||
|
</blockquote>
|
||||||
|
<p><center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
|
||||||
|
</details>
|
||||||
<p>This page is a summary of the mistakes in the <a href="book/">100 Go Mistakes and How to Avoid Them book</a>. Meanwhile, it's also open to the community. If you believe that a common Go mistake should be added, please create an <a href="https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=">issue</a>.</p>
|
<p>This page is a summary of the mistakes in the <a href="book/">100 Go Mistakes and How to Avoid Them book</a>. Meanwhile, it's also open to the community. If you believe that a common Go mistake should be added, please create an <a href="https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=">issue</a>.</p>
|
||||||
<p><a class="glightbox" href="img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="img/inside-cover.png" /></a></p>
|
<p><a class="glightbox" href="img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="img/inside-cover.png" /></a></p>
|
||||||
<details class="warning" open="open">
|
<details class="warning" open="open">
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3361,6 +3344,14 @@
|
||||||
|
|
||||||
|
|
||||||
<h1 id="go">Go言語でありがちな間違い</h1>
|
<h1 id="go">Go言語でありがちな間違い</h1>
|
||||||
|
<details class="tip" open="open">
|
||||||
|
<summary>The Coder Cafe</summary>
|
||||||
|
<p>もし私の本を楽しんでいただけたなら、私の最新プロジェクトにもご興味があるかもしれません。<a href="https://thecoder.cafe">The Coder Cafe</a>は、コーダー向けの日刊ニュースレターです。</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
|
||||||
|
</blockquote>
|
||||||
|
<p><center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
|
||||||
|
</details>
|
||||||
<p>このページは『100 Go Mistakes』の内容をまとめたものです。一方で、コミュニティに開かれたページでもあります。「ありがちな間違い」が新たに追加されるべきだとお考えでしたら <a href="https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=">community mistake issue</a> を作成してください。</p>
|
<p>このページは『100 Go Mistakes』の内容をまとめたものです。一方で、コミュニティに開かれたページでもあります。「ありがちな間違い」が新たに追加されるべきだとお考えでしたら <a href="https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=">community mistake issue</a> を作成してください。</p>
|
||||||
<p><a class="glightbox" href="../img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="../img/inside-cover.png" /></a></p>
|
<p><a class="glightbox" href="../img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="../img/inside-cover.png" /></a></p>
|
||||||
<details class="warning" open="open">
|
<details class="warning" open="open">
|
||||||
|
|
|
||||||
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3427,6 +3410,14 @@
|
||||||
|
|
||||||
|
|
||||||
<h1 id="erros-comuns-de-go">Erros comuns de Go</h1>
|
<h1 id="erros-comuns-de-go">Erros comuns de Go</h1>
|
||||||
|
<details class="tip" open="open">
|
||||||
|
<summary>The Coder Cafe</summary>
|
||||||
|
<p>Se você gostou do meu livro, talvez se interesse pelo meu novo projeto: <a href="https://thecoder.cafe">The Coder Cafe</a>, uma newsletter diária para programadores.</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
|
||||||
|
</blockquote>
|
||||||
|
<p><center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
|
||||||
|
</details>
|
||||||
<p>Esta página é um resumo dos erros do <a href="../book/">100 Go Mistakes and How to Avoid Them book</a>. Enquanto isso, também está aberto à comunidade. Se você acredita que um erro comum do Go deve ser adicionado, crie uma <a href="https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=">issue</a>.</p>
|
<p>Esta página é um resumo dos erros do <a href="../book/">100 Go Mistakes and How to Avoid Them book</a>. Enquanto isso, também está aberto à comunidade. Se você acredita que um erro comum do Go deve ser adicionado, crie uma <a href="https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=">issue</a>.</p>
|
||||||
<p><a class="glightbox" href="../img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="../img/inside-cover.png" /></a></p>
|
<p><a class="glightbox" href="../img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="../img/inside-cover.png" /></a></p>
|
||||||
<details class="warning" open="open">
|
<details class="warning" open="open">
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -128,23 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div data-md-component="announce">
|
<div data-md-component="announce">
|
||||||
|
|
||||||
<aside class="md-banner">
|
|
||||||
<div class="md-banner__inner md-grid md-typeset">
|
|
||||||
|
|
||||||
<button class="md-banner__button md-icon" aria-label="Don't show this again">
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
📢 I have just released a daily newsletter for coders: The Coder Cafe ☕. Feel free to have a look at <a href="https://thecoder.cafe">thecoder.cafe</a>!
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3181,6 +3164,14 @@
|
||||||
|
|
||||||
|
|
||||||
<h1 id="100-go">100 个 Go 常见错误及如何避免</h1>
|
<h1 id="100-go">100 个 Go 常见错误及如何避免</h1>
|
||||||
|
<details class="tip" open="open">
|
||||||
|
<summary>The Coder Cafe</summary>
|
||||||
|
<p>如果您喜欢我的书,您可能会对我的最新项目感兴趣:<a href="https://thecoder.cafe">The Coder Cafe</a>,这是一个为程序员提供的每日简报。</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
|
||||||
|
</blockquote>
|
||||||
|
<p><center><a href="https://thecoder.cafe"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
|
||||||
|
</details>
|
||||||
<p><a class="glightbox" href="../img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="../img/inside-cover.png" /></a></p>
|
<p><a class="glightbox" href="../img/inside-cover.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="../img/inside-cover.png" /></a></p>
|
||||||
<h2 id="_1">代码及工程组织</h2>
|
<h2 id="_1">代码及工程组织</h2>
|
||||||
<h3 id="1">意外的变量隐藏 (#1)</h3>
|
<h3 id="1">意外的变量隐藏 (#1)</h3>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue