<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Go語言愛好者周刊:第 72 期 — 一道接口比較的題

          共 4040字,需瀏覽 9分鐘

           ·

          2020-12-07 01:55

          這里記錄每周值得分享的 Go 語言相關(guān)內(nèi)容,周日發(fā)布。

          本周刊開源(GitHub:polaris1119/golangweekly[1]),歡迎投稿,推薦或自薦文章/軟件/資源等,請(qǐng)提交 issue[2]

          鑒于大部分人可能沒法堅(jiān)持把英文文章看完,因此,周刊中會(huì)盡可能推薦優(yōu)質(zhì)的中文文章。優(yōu)秀的英文文章,我們的 GCTT 組織會(huì)進(jìn)行翻譯。

          由于微信公眾號(hào)不支持外鏈,文章大量鏈接可通過文末「閱讀原文」查看。

          題圖:Go 泛型

          刊首語

          以下代碼輸出什么?你清楚為什么嗎?(網(wǎng)友投遞,有改動(dòng))

          package?main

          func?main()?{
          ?var?(
          ??a?int?????????=?0
          ??b?int64???????=?0
          ??c?interface{}?=?int(0)
          ??d?interface{}?=?int64(0)
          ?)

          ?println(c?==?0)
          ?println(c?==?a)
          ?println(c?==?b)
          ?println(d?==?b)
          ?println(d?==?0)
          }

          資訊

          1、GoLand 2020.3 正式發(fā)布

          這是 2020 年第 3 個(gè)版本,也是最后一個(gè)版本。

          2、Go 1.15.6 和 Go 1.14.13 發(fā)布了

          Go 官方宣布 Go1.15.6 和 Go 1.14.13 發(fā)布了,這是兩個(gè)小版本,主要修復(fù)了編譯器、鏈接器、運(yùn)行時(shí)、go 命令 和 io 包。

          3、Gitea 1.13.0 發(fā)布[3]

          如果你想要自己的基于 GitHub 的基于 Web 的git界面,而 GitLab 對(duì)你來說太重,那么 Gitea 就適合你。

          4、Kubernetes 棄用 Docker 刷屏,官方聲明:不必驚慌

          在 1.20 版本之后,Kubernetes 將不再支持把 Docker 作為容器運(yùn)行時(shí)使用。不必驚慌,實(shí)際上沒多大影響。

          5、gopls v0.5.5 發(fā)布[4]

          一些 bug 修復(fù)。

          文章

          1、Go 項(xiàng)目實(shí)戰(zhàn):實(shí)現(xiàn)一個(gè) Redis (1) 之編寫 TCP 服務(wù)器

          這是一個(gè)實(shí)戰(zhàn)系列教程,更新到 Go 項(xiàng)目實(shí)戰(zhàn):實(shí)現(xiàn)一個(gè) Redis(2) 之實(shí)現(xiàn) Redis 協(xié)議解析器

          2、Hugo + GitHub Pages 搭建自己的網(wǎng)站

          靜態(tài)博客很流行。

          3、Go 語言:全面分析為什么我們需要泛型

          為什么我們需要泛型,沒有泛型時(shí)我們?cè)谧鍪裁矗盒蜁?huì)帶來哪些影響,泛型能拯救我們嗎?

          4、列舉一些 Go1.16 中可能對(duì)大家有影響的變化

          struct tag 支持同名合并很棒。

          5、都知曉滴滴大量使用 Go,它招聘普通 Go 工程師的 JD 啥要求?

          多看看招聘需求。

          6、圖解 Goroutine 與搶占機(jī)制

          本篇文章討論實(shí)現(xiàn)原理基于 Go 1.13。

          7、讓你的 Go 服務(wù)優(yōu)雅的重啟 (解決代碼發(fā)布 Go 服務(wù)閃斷的問題)

          有同學(xué)反饋 發(fā)布 Go 服務(wù)代碼 監(jiān)控報(bào)警會(huì)出現(xiàn)一堆 5xx 報(bào)警,如何解決?

          8、一文告訴你如何搶先體驗(yàn) Go 泛型

          全面介紹一下,小伙伴們可以根據(jù)自己的情況任選一種搶先體驗(yàn) Go 泛型!

          9、必須要學(xué)的 Go 進(jìn)程診斷工具 gops

          Google 官方開發(fā)的工具。

          10、Go 語言應(yīng)用之 template

          Go 語言內(nèi)置了兩個(gè) template 相關(guān)的包:text/template、html/template。

          開源項(xiàng)目

          1、rod[5]

          Rod 是直接基于 DevTools 協(xié)議的高級(jí)驅(qū)動(dòng)程序。它是為 Web 自動(dòng)化和抓取而設(shè)計(jì)的。

          2、Mortar[6]

          構(gòu)建 gRPC(和 REST)Web 服務(wù)的框架。

          3、dicom[7]

          Go 中的高性能 DICOM 醫(yī)學(xué)圖像解析器。

          4、baker[8]

          Baker 是大數(shù)據(jù)時(shí)代的高性能,可組合且可擴(kuò)展的數(shù)據(jù)處理管道。

          5、go-admin[9]

          數(shù)據(jù)可視化與管理平臺(tái)構(gòu)建框架。官方網(wǎng)址:https://www.go-admin.cn/,看著挺不錯(cuò)。

          6、treemux[10]

          快速靈活的 HTTP 路由器,和 httprouter 一樣快,但路由規(guī)則靈活。

          7、phpfuncs[11]

          PHP 函數(shù)的 Go 實(shí)現(xiàn)。該包適用于以前開發(fā)過 PHP 的 Go 初學(xué)者。

          8、prysm[12]

          以太坊 2.0 區(qū)塊鏈 Go 實(shí)現(xiàn)。

          9、twtxt[13]

          Go 實(shí)現(xiàn)的分布式、獨(dú)立部署的類 Twitter 微博客平臺(tái)。

          10、godog[14]

          Golang BDD 框架。

          11、please[15]

          Go 實(shí)現(xiàn)的跨語言構(gòu)建系統(tǒng)。

          資源&&工具

          1、Go 與 Rust 對(duì)比學(xué)習(xí)[16]

          超過兩百個(gè)常見的編程任務(wù),并排放置。作為一個(gè)備忘單,一個(gè)有趣的比較形式,甚至學(xué)習(xí)資料。這個(gè)網(wǎng)站可以對(duì)比各種語言。

          2、sqs_clipboard[17]

          使用 AWS SQS 作為剪貼板在不同系統(tǒng)和平臺(tái)之間復(fù)制和粘貼。

          3、ciak[18]

          用 Go 編寫的輕量級(jí)媒體服務(wù)器。

          4、Go Systems Conf SF 2020[19]

          油管視頻。這里可以看到演講主題:https://systemsconf.io/agenda。

          5、kong[20]

          一個(gè)命令行解析器。

          6、gen[21]

          類型驅(qū)動(dòng)的 Go 代碼生成。

          7、fibratus[22]

          Go 實(shí)現(xiàn)的 Windows 內(nèi)核探索與跟蹤利器。

          8、tcpprobe[23]

          網(wǎng)絡(luò)性能、路徑、統(tǒng)計(jì)信息監(jiān)視工具。

          9、Go 夜聊第 1 期[24]

          聊聊參加 GopherCon 2020。

          10、播客第 158 期[25]

          play-with-go.dev 網(wǎng)站的臺(tái)前幕后的故事。

          訂閱

          這個(gè)周刊每周日發(fā)布,同步更新在Go語言中文網(wǎng)[26]微信公眾號(hào)[27]

          微信搜索"Go語言中文網(wǎng)"或者掃描二維碼,即可訂閱。

          wechat

          閱讀上期Go語言愛好者周刊:第 71 期 — 這道題可能做對(duì)的不多
          參考資料

          [1]

          polaris1119/golangweekly: https://github.com/polaris1119/golangweekly

          [2]

          提交 issue: https://github.com/polaris1119/golangweekly/issues

          [3]

          Gitea 1.13.0 發(fā)布: https://blog.gitea.io/2020/12/gitea-1.13.0-is-released/

          [4]

          gopls v0.5.5 發(fā)布: https://github.com/golang/tools/releases/tag/gopls%2Fv0.5.5

          [5]

          rod: https://github.com/go-rod/rod

          [6]

          Mortar: https://github.com/go-masonry/mortar

          [7]

          dicom: https://github.com/suyashkumar/dicom

          [8]

          baker: https://github.com/adroll/baker

          [9]

          go-admin: https://github.com/GoAdminGroup/go-admin

          [10]

          treemux: https://github.com/vmihailenco/treemux

          [11]

          phpfuncs: https://github.com/serkanalgur/phpfuncs

          [12]

          prysm: https://github.com/prysmaticlabs/prysm

          [13]

          twtxt: https://github.com/jointwt/twtxt

          [14]

          godog: https://github.com/cucumber/godog

          [15]

          please: https://github.com/thought-machine/please

          [16]

          Go 與 Rust 對(duì)比學(xué)習(xí): https://programming-idioms.org/cheatsheet/Go/Rust

          [17]

          sqs_clipboard: https://github.com/jftuga/sqs_clipboard

          [18]

          ciak: https://github.com/GaruGaru/ciak

          [19]

          Go Systems Conf SF 2020: https://www.youtube.com/watch?v=inrqE0Grgk0

          [20]

          kong: https://github.com/alecthomas/kong

          [21]

          gen: https://github.com/clipperhouse/gen

          [22]

          fibratus: https://github.com/rabbitstack/fibratus

          [23]

          tcpprobe: https://github.com/mehrdadrad/tcpprobe

          [24]

          Go 夜聊第 1 期: https://www.xiaoyuzhoufm.com/episode/5fca1f69dee9c1e16dea5713?s=eyJ1IjogIjVlN2VjNzNkMGE3YmQ4MDljMmU5MTJkNCJ9

          [25]

          播客第 158 期: https://changelog.com/gotime/158

          [26]

          Go語言中文網(wǎng): https://studygolang.com/go/weekly

          [27]

          微信公眾號(hào): https://weixin.sogou.com/weixin?query=Go%E8%AF%AD%E8%A8%80%E4%B8%AD%E6%96%87%E7%BD%91

          瀏覽 66
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  日比性免费在线 | 无码免费毛片一区二区三区古代 | 国产熟女一区 | 久久av在线 | 一本色道久久综合无码人妻四虎 |