Skip to content

Commit

Permalink
deploy: e3a7ea0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Jan 17, 2025
1 parent d742f86 commit 27dcfa8
Show file tree
Hide file tree
Showing 227 changed files with 227 additions and 227 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!doctype html><html lang=fa><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:url" content="https://book.gofarsi.ir/404.html"><meta property="og:site_name" content="زبان گو فارسی"><meta property="og:title" content="404 Page not found"><meta property="og:locale" content="fa"><meta property="og:type" content="website"><title>404 Page not found | زبان گو فارسی</title>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.6bbbf2526247303d85c17871aa51db1068c782bb2d1fc0ce92465149704aeabe.js integrity="sha256-a7vyUmJHMD2FwXhxqlHbEGjHgrstH8DOkkZRSXBK6r4=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><style>.not-found{text-align:center}.not-found h1{margin:.25em 0 0;opacity:.25;font-size:40vmin}</style></head><body><main class="flex justify-center not-found"><div><h1>404</h1><h2>Page Not Found</h2><h3><a href=/>زبان گو فارسی</a></h3></div></main><button onclick=topFunction() id=myBtn title="رفتن به بالا" class="fas fa-solid fa-arrow-up"></button>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.25d8d6546fa9c9951431691b81c28d9b3036e2145e827f90b323ba295a933ecc.js integrity="sha256-JdjWVG+pyZUUMWkbgcKNmzA24hRegn+QsyO6KVqTPsw=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><style>.not-found{text-align:center}.not-found h1{margin:.25em 0 0;opacity:.25;font-size:40vmin}</style></head><body><main class="flex justify-center not-found"><div><h1>404</h1><h2>Page Not Found</h2><h3><a href=/>زبان گو فارسی</a></h3></div></main><button onclick=topFunction() id=myBtn title="رفتن به بالا" class="fas fa-solid fa-arrow-up"></button>
<script src=prism.js></script><script>document.getElementById("currentsv").innerHTML=window.location.href</script><script async>var html=document.documentElement,switcher=document.getElementsByClassName("js-toggle")[0];typeof Storage!="undefined"&&((localStorage.getItem("themeMode")=="dark"||document.documentElement.getAttribute("data-theme")=="dark")&&switcher.classList.add("js-toggle--checked"),switcher.classList.add("js-toggle--focus")),switcher.addEventListener("click",function(){this.classList.toggle("js-toggle--checked"),this.classList.add("js-toggle--focus"),this.classList.contains("js-toggle--checked")?(html.setAttribute("data-theme","dark"),localStorage.setItem("themeMode","dark")):(html.setAttribute("data-theme","light"),localStorage.setItem("themeMode","light"))})</script><script>let mybutton=document.getElementById("myBtn");window.onscroll=function(){scrollFunction()};function scrollFunction(){document.body.scrollTop>20||document.documentElement.scrollTop>20?mybutton.style.display="block":mybutton.style.display="none"}function topFunction(){document.body.scrollTop=0,document.documentElement.scrollTop=0}</script></body></html>
2 changes: 1 addition & 1 deletion changes-log/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-array/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-basic-types/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-built-in-keywords-identifiers/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-builtins/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-defer-panic-recovery/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-for/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-function/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-if-switch/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-map/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-operators/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-package/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-string-formatting/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-variables-and-consts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-zero-values/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/structure-of-go-code/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-10/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-11/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-addresses/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-clients/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-consensus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-cryptography/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-in-real-world/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-innovation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-miners/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-network/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-programming/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-structure/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-transactions/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-wallets/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-accounts/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-api-and-sdk/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-architecture/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-blocks/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-cryptography/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-forking/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-genesis/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-history/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-monitoring/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-p2p-network/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-privacy/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-scale/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-security/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-type/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/abi-and-bin-file/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-blocks/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-consensus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-cryptography/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-keys-and-addresses/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-network/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-nodes-and-miners/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-smart-contracts/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-virtual-machine/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/event-logs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/geth/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/go-ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/protocol-swarm-and-whisper/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/signature/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/transactions-on-ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/work-with-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-addresses-and-keys/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-client/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-consensus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-cryptography/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-roadmap/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-smart-contracts/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/casting-vs-conversion/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/error-handling/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
duck typing روشی در برنامه‌نویسی کامپیوتری است که به شما امکان می‌دهد تست اردک را انجام دهید، جایی که ما نوع را بررسی نمی‌کنیم، بلکه تنها وجود برخی ویژگی‌ها یا روش‌ها را بررسی می‌کنیم."><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:url" content="https://book.gofarsi.ir/chapter-2/interface/"><meta property="og:site_name" content="زبان گو فارسی"><meta property="og:title" content="2.4 اینترفیس (Interface)"><meta property="og:description" content="اینترفیس در زبان گو مجموعه‌ای از متدها است. این مجموعه متدها با توجه به ورودی و خروجی که دارند دارای رفتارهای خاصی هستند. زمانیکه شما یک اینترفیس به همراه یکسری از متدها تعریف می‌کنید باید در جایی این متدها را پیاده سازی کنید.
اینترفیس‌ها به شما اجازه می‌دهد تا از Duck typing استفاده کنید. حالا این duck typing چیست؟
duck typing روشی در برنامه‌نویسی کامپیوتری است که به شما امکان می‌دهد تست اردک را انجام دهید، جایی که ما نوع را بررسی نمی‌کنیم، بلکه تنها وجود برخی ویژگی‌ها یا روش‌ها را بررسی می‌کنیم."><meta property="og:locale" content="fa"><meta property="og:type" content="article"><meta property="article:section" content="chapter-2"><title>2.4 اینترفیس (Interface) | زبان گو فارسی</title>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.6bbbf2526247303d85c17871aa51db1068c782bb2d1fc0ce92465149704aeabe.js integrity="sha256-a7vyUmJHMD2FwXhxqlHbEGjHgrstH8DOkkZRSXBK6r4=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><script src=https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js></script><script>const themeMode=localStorage.getItem("themeMode")||"light";mermaid.initialize({startOnLoad:!0,theme:themeMode==="dark"?"dark":"light"});const style=document.createElement("style");style.textContent=`
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.25d8d6546fa9c9951431691b81c28d9b3036e2145e827f90b323ba295a933ecc.js integrity="sha256-JdjWVG+pyZUUMWkbgcKNmzA24hRegn+QsyO6KVqTPsw=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><script src=https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js></script><script>const themeMode=localStorage.getItem("themeMode")||"light";mermaid.initialize({startOnLoad:!0,theme:themeMode==="dark"?"dark":"light"});const style=document.createElement("style");style.textContent=`
.mermaid {
display: flex;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion chapter-2/method/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/pointer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/struct/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/type-embedding/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-atomic/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-channel/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-concurrency-patterns/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-concurrency-teqniques/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-concurrency/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-context/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-select/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-sync-package/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/goroutine-data-race/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/goroutine/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/build-go-file/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/command-line-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/debugging-go-code/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/effective-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-code-rules/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-commentry/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-garbage-collector/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-generator/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-mod/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-plugin/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-project-layout/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-reflection/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-regular-expressions/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-stringer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-abstraction/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-encapsulation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-inheritance/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-overriding/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-polymorphism/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/profiling/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/tracing/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/vendor/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-csv-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-environment-variable/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-ini-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-json-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-toml-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-yaml-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/workspace/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-client-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-client-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-server-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-server-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-quic-prtoocol/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-tcp-server-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-tcp-server-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-udp-server-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-udp-server-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/network-basic/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-6/go-generic-simple/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-6/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-7/go-test/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-7/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-8/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/anti-pattern/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/behavioral-patterns/go-state-pattern/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/behavioral-patterns/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/cloud-native-patterns/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html><html lang=fa dir=rtl><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="9.4.19.1 توضیحات # الگوی بازیابی از بن‌بست (Deadlock Recovery) برای شناسایی و بازیابی از وضعیت‌های بن‌بست استفاده می‌شود، جایی که چندین گوروتین به طور نامحدود منتظر منابعی هستند که توسط یکدیگر نگه داشته شده‌اند. بن‌بست می‌تواند به دلیل همگام‌سازی نادرست یا رقابت برای منابع در برنامه‌های همزمان رخ دهد. این الگو شامل نظارت بر گوروتین‌ها، شناسایی بن‌بست‌های احتمالی و پیاده‌سازی مکانیزم‌های بازیابی مانند زمان‌بندی، تلاش مجدد یا خاتمه اجباری است."><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:url" content="https://book.gofarsi.ir/chapter-9/concurrency-patterns/go-concurrency-pattern-deadlock-recovery/"><meta property="og:site_name" content="زبان گو فارسی"><meta property="og:title" content="9.4.19 الگو Deadlock Recovery"><meta property="og:description" content="9.4.19.1 توضیحات # الگوی بازیابی از بن‌بست (Deadlock Recovery) برای شناسایی و بازیابی از وضعیت‌های بن‌بست استفاده می‌شود، جایی که چندین گوروتین به طور نامحدود منتظر منابعی هستند که توسط یکدیگر نگه داشته شده‌اند. بن‌بست می‌تواند به دلیل همگام‌سازی نادرست یا رقابت برای منابع در برنامه‌های همزمان رخ دهد. این الگو شامل نظارت بر گوروتین‌ها، شناسایی بن‌بست‌های احتمالی و پیاده‌سازی مکانیزم‌های بازیابی مانند زمان‌بندی، تلاش مجدد یا خاتمه اجباری است."><meta property="og:locale" content="fa"><meta property="og:type" content="article"><meta property="article:section" content="chapter-9"><title>9.4.19 الگو Deadlock Recovery | زبان گو فارسی</title>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.6bbbf2526247303d85c17871aa51db1068c782bb2d1fc0ce92465149704aeabe.js integrity="sha256-a7vyUmJHMD2FwXhxqlHbEGjHgrstH8DOkkZRSXBK6r4=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><script src=https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js></script><script>const themeMode=localStorage.getItem("themeMode")||"light";mermaid.initialize({startOnLoad:!0,theme:themeMode==="dark"?"dark":"light"});const style=document.createElement("style");style.textContent=`
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.25d8d6546fa9c9951431691b81c28d9b3036e2145e827f90b323ba295a933ecc.js integrity="sha256-JdjWVG+pyZUUMWkbgcKNmzA24hRegn+QsyO6KVqTPsw=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><script src=https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js></script><script>const themeMode=localStorage.getItem("themeMode")||"light";mermaid.initialize({startOnLoad:!0,theme:themeMode==="dark"?"dark":"light"});const style=document.createElement("style");style.textContent=`
.mermaid {
display: flex;
justify-content: center;
Expand Down
Loading

0 comments on commit 27dcfa8

Please sign in to comment.