Community page, title.

This commit is contained in:
Teiva Harsanyi 2024-03-05 17:59:45 +01:00
parent 5a5e93a3f3
commit 41fb72b95f
23 changed files with 1543 additions and 125 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

15
docs/community.md Normal file
View file

@ -0,0 +1,15 @@
---
hide:
- toc
- navigation
---
# Community
Thanks to all the contributors:
<a href="https://contrib.rocks/image?repo=teivah/100-go-mistakes">
<img src="https://contrib.rocks/image?repo=teivah/100-go-mistakes" alt="Description of the image">
</a>
If you want to get involved, we're looking for volunteers to summarize the remaining mistakes ([GitHub issue #43](https://github.com/teivah/100-go-mistakes/issues/43)) 🙏

View file

@ -2135,11 +2135,3 @@ Read the full section [here](98-profiling-execution-tracing.md).
???+ info "TL;DR"
To help avoid CPU throttling when deployed in Docker and Kubernetes, keep in mind that Go isnt CFS-aware.
## Community
Thanks to all the contributors:
<a href="https://contrib.rocks/image?repo=teivah/100-go-mistakes">
<img src="https://contrib.rocks/image?repo=teivah/100-go-mistakes" alt="Description of the image">
</a>

View file

@ -61,11 +61,11 @@ extra:
extra_css:
- stylesheets/extra.css
nav:
- 📖 Book:
- Book:
- book.md
- chapter-1.md
- external.md
- 💡️ Go Mistakes:
- Go Mistakes:
- index.md
- Full Sections:
- 9-generics.md
@ -74,6 +74,7 @@ nav:
- 56-concurrency-faster.md
- 89-benchmarks.md
- 98-profiling-execution-tracing.md
- community.md
markdown_extensions:
- admonition
- pymdownx.details

View file

@ -301,7 +301,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -409,7 +426,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -419,7 +436,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -524,7 +541,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -534,7 +551,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -755,6 +772,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -301,7 +301,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -409,7 +426,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -419,7 +436,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -524,7 +541,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -534,7 +551,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -755,6 +772,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -255,7 +255,7 @@
<a href="/book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -273,7 +273,7 @@
<a href="/." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -281,6 +281,23 @@
<li class="md-tabs__item">
<a href="/community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -359,7 +376,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -369,7 +386,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -471,7 +488,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -481,7 +498,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -689,6 +706,26 @@
<li class="md-nav__item">
<a href="/community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -301,7 +301,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -409,7 +426,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -419,7 +436,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -524,7 +541,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -534,7 +551,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -812,6 +829,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -301,7 +301,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -409,7 +426,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -419,7 +436,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -524,7 +541,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -534,7 +551,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -830,6 +847,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -301,7 +301,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -409,7 +426,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -419,7 +436,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -524,7 +541,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -534,7 +551,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -812,6 +829,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -14,6 +14,8 @@
<link rel="prev" href="../89-benchmarks/">
<link rel="next" href="../community/">
<link rel="icon" href="../img/Go-Logo_LightBlue.svg">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.11">
@ -299,7 +301,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -319,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -327,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -407,7 +426,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -417,7 +436,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -522,7 +541,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -532,7 +551,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -861,6 +880,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -301,7 +301,7 @@
<a href="./" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -319,7 +319,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -327,6 +327,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -410,7 +427,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -420,7 +437,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -598,7 +615,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -608,7 +625,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -816,6 +833,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -303,7 +303,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -412,7 +429,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -422,7 +439,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -669,7 +686,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -679,7 +696,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -887,6 +904,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

910
site/community/index.html Normal file
View file

@ -0,0 +1,910 @@
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="canonical" href="https://100go.co/community/">
<link rel="prev" href="../98-profiling-execution-tracing/">
<link rel="icon" href="../img/Go-Logo_LightBlue.svg">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.11">
<title>Community - 100 Go Mistakes and How to Avoid Them</title>
<link rel="stylesheet" href="../assets/stylesheets/main.7e359304.min.css">
<link rel="stylesheet" href="../assets/stylesheets/palette.06af60db.min.css">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
<link rel="stylesheet" href="../stylesheets/extra.css">
<script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
<script id="__analytics">function __md_analytics(){function n(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],n("js",new Date),n("config","G-HMY1HYDM93"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){this.value&&n("event","search",{search_term:this.value})}),document$.subscribe(function(){var a=document.forms.feedback;if(void 0!==a)for(var e of a.querySelectorAll("[type=submit]"))e.addEventListener("click",function(e){e.preventDefault();var t=document.location.pathname,e=this.getAttribute("data-md-value");n("event","feedback",{page:t,data:e}),a.firstElementChild.disabled=!0;e=a.querySelector(".md-feedback__note [data-md-value='"+e+"']");e&&(e.hidden=!1)}),a.hidden=!1}),location$.subscribe(function(e){n("config","G-HMY1HYDM93",{page_path:e.pathname})})});var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=G-HMY1HYDM93",document.getElementById("__analytics").insertAdjacentElement("afterEnd",e)}</script>
<script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
<meta property="og:type" content="website" >
<meta property="og:title" content="Community - 100 Go Mistakes and How to Avoid Them" >
<meta property="og:description" content="None" >
<meta property="og:image" content="https://100go.co/assets/images/social/community.png" >
<meta property="og:image:type" content="image/png" >
<meta property="og:image:width" content="1200" >
<meta property="og:image:height" content="630" >
<meta property="og:url" content="https://100go.co/community/" >
<meta name="twitter:card" content="summary_large_image" >
<meta name="twitter:title" content="Community - 100 Go Mistakes and How to Avoid Them" >
<meta name="twitter:description" content="None" >
<meta name="twitter:image" content="https://100go.co/assets/images/social/community.png" >
<link href="../assets/stylesheets/glightbox.min.css" rel="stylesheet"/><style>
html.glightbox-open { overflow: initial; height: 100%; }
.gslide-title { margin-top: 0px; user-select: text; }
.gslide-desc { color: #666; user-select: text; }
.gslide-image img { background: white; }
.gscrollbar-fixer { padding-right: 15px; }
.gdesc-inner { font-size: 0.75rem; }
body[data-md-color-scheme="slate"] .gdesc-inner { background: var(--md-default-bg-color);}
body[data-md-color-scheme="slate"] .gslide-title { color: var(--md-default-fg-color);}
body[data-md-color-scheme="slate"] .gslide-desc { color: var(--md-default-fg-color);}</style> <script src="../assets/javascripts/glightbox.min.js"></script></head>
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="cyan" data-md-color-accent="deep-orange">
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">
<a href="#community" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
</div>
<header class="md-header md-header--shadow md-header--lifted" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href=".." title="100 Go Mistakes and How to Avoid Them" class="md-header__button md-logo" aria-label="100 Go Mistakes and How to Avoid Them" data-md-component="logo">
<img src="../img/Go-Logo_White.svg" alt="logo">
</a>
<label class="md-header__button md-icon" for="__drawer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
</label>
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
100 Go Mistakes and How to Avoid Them
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Community
</span>
</div>
</div>
</div>
<form class="md-header__option" data-md-component="palette">
<input class="md-option" data-md-color-media="" data-md-color-scheme="default" data-md-color-primary="cyan" data-md-color-accent="deep-orange" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_0">
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg>
</label>
<input class="md-option" data-md-color-media="" data-md-color-scheme="slate" data-md-color-primary="blue-grey" data-md-color-accent="teal" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_1">
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_0" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12c0-2.42-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg>
</label>
</form>
<script>var media,input,key,value,palette=__md_get("__palette");if(palette&&palette.color){"(prefers-color-scheme)"===palette.color.media&&(media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']"),palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent"));for([key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
<div class="md-header__option">
<div class="md-select">
<button class="md-header__button md-icon" aria-label="Select language">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m12.87 15.07-2.54-2.51.03-.03A17.52 17.52 0 0 0 14.07 6H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04M18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12m-2.62 7 1.62-4.33L19.12 17h-3.24Z"/></svg>
</button>
<div class="md-select__inner">
<ul class="md-select__list">
<li class="md-select__item">
<a href="/" hreflang="en" class="md-select__link">
🇬🇧 English
</a>
</li>
<li class="md-select__item">
<a href="/zh/" hreflang="zh" class="md-select__link">
🇨🇳 Chinese Simplified
</a>
</li>
<li class="md-select__item">
<a href="/ja/" hreflang="ja" class="md-select__link">
🇯🇵 Japanese (進行中)
</a>
</li>
</ul>
</div>
</div>
</div>
<label class="md-header__button md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
</label>
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
<label class="md-search__icon md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
</label>
<nav class="md-search__options" aria-label="Search">
<a href="javascript:void(0)" class="md-search__icon md-icon" title="Share" aria-label="Share" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7 0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66 0 1.61 1.31 2.91 2.92 2.91 1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08Z"/></svg>
</a>
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
<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>
</nav>
<div class="md-search__suggest" data-md-component="search-suggest"></div>
</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" data-md-scrollfix>
<div class="md-search-result" data-md-component="search-result">
<div class="md-search-result__meta">
Initializing search
</div>
<ol class="md-search-result__list" role="presentation"></ol>
</div>
</div>
</div>
</div>
</div>
<div class="md-header__source">
<a href="https://github.com/teivah/100-go-mistakes" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
</div>
<div class="md-source__repository">
teivah/100-go-mistakes
</div>
</a>
</div>
</nav>
<nav class="md-tabs" aria-label="Tabs" data-md-component="tabs">
<div class="md-grid">
<ul class="md-tabs__list">
<li class="md-tabs__item">
<a href="../book/" class="md-tabs__link">
Book
</a>
</li>
<li class="md-tabs__item">
<a href=".." class="md-tabs__link">
Go Mistakes
</a>
</li>
<li class="md-tabs__item md-tabs__item--active">
<a href="./" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
</header>
<div class="md-container" data-md-component="container">
<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" hidden>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href=".." title="100 Go Mistakes and How to Avoid Them" class="md-nav__button md-logo" aria-label="100 Go Mistakes and How to Avoid Them" data-md-component="logo">
<img src="../img/Go-Logo_White.svg" alt="logo">
</a>
100 Go Mistakes and How to Avoid Them
</label>
<div class="md-nav__source">
<a href="https://github.com/teivah/100-go-mistakes" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
</div>
<div class="md-source__repository">
teivah/100-go-mistakes
</div>
</a>
</div>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_1" >
<label class="md-nav__link" for="__nav_1" id="__nav_1_label" tabindex="0">
<span class="md-ellipsis">
Book
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../book/" class="md-nav__link">
<span class="md-ellipsis">
100 Go Mistakes and How to Avoid Them
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../chapter-1/" class="md-nav__link">
<span class="md-ellipsis">
Read the First Chapter
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../external/" class="md-nav__link">
<span class="md-ellipsis">
External Resources
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2" >
<label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="0">
<span class="md-ellipsis">
Go Mistakes
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href=".." class="md-nav__link">
<span class="md-ellipsis">
Common Go Mistakes
</span>
</a>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2_2" >
<label class="md-nav__link" for="__nav_2_2" id="__nav_2_2_label" tabindex="0">
<span class="md-ellipsis">
Full Sections
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2_2">
<span class="md-nav__icon md-icon"></span>
Full Sections
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../9-generics/" class="md-nav__link">
<span class="md-ellipsis">
Being confused about when to use generics (#9)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../20-slice/" class="md-nav__link">
<span class="md-ellipsis">
Not understanding slice length and capacity (#20)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../28-maps-memory-leaks/" class="md-nav__link">
<span class="md-ellipsis">
Maps and memory leaks (#28)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../56-concurrency-faster/" class="md-nav__link">
<span class="md-ellipsis">
Thinking concurrency is always faster (#56)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../89-benchmarks/" class="md-nav__link">
<span class="md-ellipsis">
Writing inaccurate benchmarks (#89)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../98-profiling-execution-tracing/" class="md-nav__link">
<span class="md-ellipsis">
Not using Go diagnostics tooling (#98)
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item md-nav__item--active">
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
<a href="./" class="md-nav__link md-nav__link--active">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" hidden>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
</nav>
</div>
</div>
</div>
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
<h1 id="community">Community</h1>
<p>Thanks to all the contributors:</p>
<p><a href="https://contrib.rocks/image?repo=teivah/100-go-mistakes">
<a class="glightbox" href="https://contrib.rocks/image?repo=teivah/100-go-mistakes" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img src="https://contrib.rocks/image?repo=teivah/100-go-mistakes" alt="Description of the image"></a>
</a></p>
<p>If you want to get involved, we're looking for volunteers to summarize the remaining mistakes (<a href="https://github.com/teivah/100-go-mistakes/issues/43">GitHub issue #43</a>) 🙏</p>
</article>
</div>
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
</div>
</main>
<footer class="md-footer">
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-copyright">
<div class="md-copyright__highlight">
Copyright &copy; 2022 - 2024 Teiva Harsanyi
</div>
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
</div>
<div class="md-social">
<a href="https://twitter.com/teivah" target="_blank" rel="noopener" title="twitter.com" class="md-social__link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
</a>
</div>
</div>
</div>
</footer>
</div>
<div class="md-dialog" data-md-component="dialog">
<div class="md-dialog__inner md-typeset"></div>
</div>
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.tabs", "navigation.tabs.sticky", "search.highlight", "search.share", "search.suggest", "content.code.copy", "navigation.expand", "navigation.instant", "navigation.sections"], "search": "../assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
<script src="../assets/javascripts/bundle.8fd75fb4.min.js"></script>
<script>document$.subscribe(() => {const lightbox = GLightbox({"touchNavigation": true, "loop": false, "zoomable": true, "draggable": true, "openEffect": "zoom", "closeEffect": "zoom", "slideEffect": "slide"});})</script></body>
</html>

View file

@ -303,7 +303,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -410,7 +427,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -420,7 +437,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -748,7 +765,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -758,7 +775,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -966,6 +983,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -301,7 +301,7 @@
<a href="book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -321,7 +321,7 @@
<a href="." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -329,6 +329,23 @@
<li class="md-tabs__item">
<a href="community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -407,7 +424,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -417,7 +434,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -522,7 +539,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -532,7 +549,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -1750,15 +1767,6 @@
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#community" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
@ -1956,6 +1964,26 @@
<li class="md-nav__item">
<a href="community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>
@ -3144,15 +3172,6 @@
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#community" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
@ -3421,14 +3440,12 @@ Granularity is another essential thing to consider. We should avoid having dozen
<li><a href="https://golang.org/cmd/vet">https://golang.org/cmd/vet</a>—A standard Go analyzer</li>
<li><a href="https://github.com/kisielk/errcheck">https://github.com/kisielk/errcheck</a>—An error checker</li>
<li><a href="https://github.com/fzipp/gocyclo">https://github.com/fzipp/gocyclo</a>—A cyclomatic complexity analyzer</li>
<li><a href="https://github.com/jgautheron/goconst">https://github.com/jgautheron/goconst</a>—A repeated string constants analyzer
*
Besides linters, we should also use code formatters to fix code style. Here is a list of some code formatters for you to try:</li>
<li><a href="https://golang.org/cmd/gofmt">https://golang.org/cmd/gofmt</a>—A standard Go code formatter</li>
<li><a href="https://godoc.org/golang.org/x/tools/cmd/goimports">https://godoc.org/golang.org/x/tools/cmd/goimports</a>—A standard Go imports formatter
*
Meanwhile, we should also look at golangci-lint (<a href="https://github.com/golangci/golangci-lint">https://github.com/golangci/golangci-lint</a>). Its a linting tool that provides a facade on top of many useful linters and formatters. Also, it allows running the linters in parallel to improve analysis speed, which is quite handy.</li>
<li><a href="https://github.com/jgautheron/goconst">https://github.com/jgautheron/goconst</a>—A repeated string constants analyzer</li>
</ul>
<p>Besides linters, we should also use code formatters to fix code style. Here is a list of some code formatters for you to try:
* <a href="https://golang.org/cmd/gofmt">https://golang.org/cmd/gofmt</a>—A standard Go code formatter
* <a href="https://godoc.org/golang.org/x/tools/cmd/goimports">https://godoc.org/golang.org/x/tools/cmd/goimports</a>—A standard Go imports formatter</p>
<p>Meanwhile, we should also look at golangci-lint (<a href="https://github.com/golangci/golangci-lint">https://github.com/golangci/golangci-lint</a>). Its a linting tool that provides a facade on top of many useful linters and formatters. Also, it allows running the linters in parallel to improve analysis speed, which is quite handy.</p>
<p>Linters and formatters are a powerful way to improve the quality and consistency of our codebase. Lets take the time to understand which one we should use and make sure we automate their execution (such as a CI or Git precommit hook).</p>
<h2 id="data-types">Data Types</h2>
<h3 id="creating-confusion-with-octal-literals-17">Creating confusion with octal literals (#17)</h3>
@ -4781,11 +4798,6 @@ the use case. However, we should see the two options as complementary. </p>
<summary>TL;DR</summary>
<p>To help avoid CPU throttling when deployed in Docker and Kubernetes, keep in mind that Go isnt CFS-aware.</p>
</details>
<h2 id="community">Community</h2>
<p>Thanks to all the contributors:</p>
<p><a href="https://contrib.rocks/image?repo=teivah/100-go-mistakes">
<a class="glightbox" href="https://contrib.rocks/image?repo=teivah/100-go-mistakes" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img src="https://contrib.rocks/image?repo=teivah/100-go-mistakes" alt="Description of the image"></a>
</a></p>

View file

@ -297,7 +297,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -315,7 +315,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -323,6 +323,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -401,7 +418,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -411,7 +428,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -513,7 +530,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -523,7 +540,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -731,6 +748,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

View file

@ -297,7 +297,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -315,7 +315,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -323,6 +323,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -403,7 +420,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -413,7 +430,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -515,7 +532,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -525,7 +542,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -733,6 +750,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>

File diff suppressed because one or more lines are too long

View file

@ -45,6 +45,11 @@
<lastmod>2024-03-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://100go.co/community/</loc>
<lastmod>2024-03-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://100go.co/external/</loc>
<lastmod>2024-03-05</lastmod>

Binary file not shown.

View file

@ -297,7 +297,7 @@
<a href="../book/" class="md-tabs__link">
📖 Book
Book
</a>
</li>
@ -315,7 +315,7 @@
<a href=".." class="md-tabs__link">
💡️ Go Mistakes
Go Mistakes
</a>
</li>
@ -323,6 +323,23 @@
<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">
Community
</a>
</li>
</ul>
</div>
</nav>
@ -401,7 +418,7 @@
<span class="md-ellipsis">
📖 Book
Book
</span>
@ -411,7 +428,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
📖 Book
Book
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -513,7 +530,7 @@
<span class="md-ellipsis">
💡️ Go Mistakes
Go Mistakes
</span>
@ -523,7 +540,7 @@
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
💡️ Go Mistakes
Go Mistakes
</label>
<ul class="md-nav__list" data-md-scrollfix>
@ -731,6 +748,26 @@
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
Community
</span>
</a>
</li>
</ul>
</nav>
</div>