|
| 1 | +# Go 開發者路線圖 |
| 2 | + |
| 3 | +> 在 2021 年成為一名 [Go](https://golang.org/) 開發者的路線圖: |
| 4 | +
|
| 5 | +下面有一個路線圖,如果你想要成為一名 Go 語言開發者的話,你可以沿著這張圖裡面的路徑去學習,裡面紀錄了一些你可能也想學習的函式庫。當你問到:「我想成為一名 Go 語言開發者,接下來我要學些什麼?」,我做的這個路線圖就是一個很好的建議。 |
| 6 | + |
| 7 | +[English](../../ReadMe.md) |
| 8 | +[简体中文](../zh-CN/ReadMe-zh-CN.md) |
| 9 | +[日本語](../ja-JP/ReadMe-ja-JP.md) |
| 10 | +[Versão em Português do Brasil](../pt-BR/ReadMe-pt-BR.md) |
| 11 | +[한국어](../ko-KR/ReadMe-ko-KR.md) |
| 12 | +[Русский](../ru-RU/ReadMe-ru-RU.md) |
| 13 | +[Українська](../uk-UA/ReadMe-uk-UA.md) |
| 14 | + |
| 15 | +## 免責聲明 |
| 16 | + |
| 17 | +> 本路線圖的目的是讓你看到學習 Go 語言的一個全景圖。在你對接下来要學習什麼感到困惑的时候,這個路線圖會給你一些指導,而不是鼓勵你去選擇當下流行的東西。你需要逐漸了解為什麼一個工具可能會比另一個工具更適合某些場景。但請記住,流行的東西並不意味著一定適合你的工作。 |
| 18 | +
|
| 19 | +## 給我一個 Star! :star: |
| 20 | + |
| 21 | +如果您喜歡或者正在使用這個專案來學習或者開始你的計畫,請給這專案一個 star,謝謝! |
| 22 | + |
| 23 | +## 路線圖 |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +## 資源 |
| 28 | + |
| 29 | +1. 先決條件 |
| 30 | + |
| 31 | + - [Go](https://golangbot.com/) |
| 32 | + - [Go Modules](https://blog.golang.org/using-go-modules) |
| 33 | + - [SQL](https://www.w3schools.com/sql/default.asp) |
| 34 | + |
| 35 | +2. 一般開發技能 |
| 36 | + |
| 37 | + - 學習 GIT,在 GitHub 上建立一些倉儲,與其它人分享你的程式碼 |
| 38 | + - 了解 HTTP(S) 協議,request 方法(GET, POST, PUT, PATCH, DELETE, OPTIONS) |
| 39 | + - 不要害怕使用 Google,[Google 搜索的力量](http://www.powersearchingwithgoogle.com/) |
| 40 | + - 看一些關於資料結構以及演算法的書籍 |
| 41 | + - 學習關於驗證的基礎實現 |
| 42 | + - SOLID 原則、架構、設計模式等 |
| 43 | + - 基本的軟體測試(單元、整合、端對端) |
| 44 | + |
| 45 | +3. 命令列工具 |
| 46 | + |
| 47 | + 1. [cobra](https://github.com/spf13/cobra) |
| 48 | + 2. [urfave/cli](https://github.com/urfave/cli) |
| 49 | + |
| 50 | +4. Web 框架 + 路由 |
| 51 | + |
| 52 | + 1. [Beego](https://github.com/astaxie/beego) |
| 53 | + 2. [Chi](https://github.com/go-chi/chi) |
| 54 | + 3. [Echo](https://github.com/labstack/echo) |
| 55 | + 4. [Fiber](https://github.com/gofiber/fiber) |
| 56 | + 5. [Gin](https://github.com/gin-gonic/gin) |
| 57 | + 6. [Revel](https://github.com/revel/revel) |
| 58 | + |
| 59 | +5. 資料庫 |
| 60 | + |
| 61 | + 1. 關聯式 |
| 62 | + 1. [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-2017) |
| 63 | + 2. [PostgreSQL](https://www.postgresql.org/) |
| 64 | + 3. [MariaDB](https://mariadb.org/) |
| 65 | + 4. [MySQL](https://www.mysql.com/) |
| 66 | + 5. [CockroachDB](https://www.cockroachlabs.com/) |
| 67 | + 2. 雲端資料庫 |
| 68 | + - [CosmosDB](https://docs.microsoft.com/en-us/azure/cosmos-db) |
| 69 | + - [DynamoDB](https://aws.amazon.com/dynamodb/) |
| 70 | + 3. 搜索引擎 |
| 71 | + - [ElasticSearch](https://www.elastic.co/) |
| 72 | + - [Solr](http://lucene.apache.org/solr/) |
| 73 | + - [Sphinx](http://sphinxsearch.com/) |
| 74 | + 4. NoSQL |
| 75 | + - [MongoDB](https://www.mongodb.com/) |
| 76 | + - [Redis](https://redis.io/) |
| 77 | + - [Apache Cassandra](http://cassandra.apache.org/) |
| 78 | + - [RavenDB](https://github.com/ravendb/ravendb) |
| 79 | + - [CouchDB](http://couchdb.apache.org/) |
| 80 | + |
| 81 | +6. 物件關聯對映 |
| 82 | + |
| 83 | + 1. [Gorm](https://github.com/go-gorm/gorm) |
| 84 | + 2. [Xorm](https://github.com/go-xorm/xorm) |
| 85 | + |
| 86 | +7. 快取 |
| 87 | + |
| 88 | + 1. [GCache](https://github.com/bluele/gcache) |
| 89 | + 2. 分散式快取 |
| 90 | + - [Go-Redis](https://github.com/go-redis/redis) |
| 91 | + - [GoMemcached](https://github.com/bradfitz/gomemcache) |
| 92 | + |
| 93 | +8. 日誌 |
| 94 | + |
| 95 | + 1. 日誌框架 |
| 96 | + - [Zap](https://github.com/uber-go/zap) |
| 97 | + - [ZeroLog](https://github.com/rs/zerolog) |
| 98 | + - [Logrus](https://github.com/sirupsen/logrus) |
| 99 | + 2. 日誌管理系統 |
| 100 | + - [Sentry.io](http://sentry.io) |
| 101 | + - [Loggly.com](https://loggly.com) |
| 102 | + 3. 分散式追蹤 |
| 103 | + - [Jaeger](https://www.jaegertracing.io/) |
| 104 | + |
| 105 | +9. 即時通訊 |
| 106 | + |
| 107 | + 1. [Socket.IO](https://socket.io/) |
| 108 | + |
| 109 | +10. API 客戶端 |
| 110 | + |
| 111 | + 1. REST |
| 112 | + - [Gentleman](https://github.com/h2non/gentleman) |
| 113 | + - [GRequests](https://github.com/kennethreitz/grequests) |
| 114 | + - [heimdall](https://github.com/gojek/heimdall) |
| 115 | + 2. [GraphQL](https://graphql.org/) |
| 116 | + - [gqlgen](https://github.com/99designs/gqlgen) |
| 117 | + - [graphql-go](https://github.com/graph-gophers/graphql-go) |
| 118 | + |
| 119 | +11. 最好知道 |
| 120 | + |
| 121 | + - [Validator](https://github.com/go-playground/validator) |
| 122 | + - [Glow](https://github.com/pytorch/glow) |
| 123 | + - [GJson](https://github.com/tidwall/gjson) |
| 124 | + - [Authboss](https://github.com/volatiletech/authboss) |
| 125 | + - [Go-Underscore](https://github.com/ahl5esoft/golang-underscore) |
| 126 | + |
| 127 | +12. 測試 |
| 128 | + |
| 129 | + 1. 單元、行為、整合測試 |
| 130 | + 1. [GoMock](https://github.com/golang/mock) |
| 131 | + 2. [Testify](https://github.com/stretchr/testify) |
| 132 | + 3. [GinkGo](https://github.com/onsi/ginkgo) |
| 133 | + 4. [GoMega](https://github.com/onsi/gomega) |
| 134 | + 5. [GoCheck](https://github.com/go-check/check) |
| 135 | + 6. [GoDog](https://github.com/DATA-DOG/godog) |
| 136 | + 7. [GoConvey](https://github.com/smartystreets/goconvey) |
| 137 | + 8. [Dockertest](https://github.com/ory/dockertest) |
| 138 | + 2. 端對端測試 |
| 139 | + - [Selenium](https://github.com/tebeka/selenium) |
| 140 | + - [Endly](https://github.com/viant/endly) |
| 141 | + |
| 142 | +13. 工作排程 |
| 143 | + |
| 144 | + - [Gron](https://github.com/roylee0704/gron) |
| 145 | + - [JobRunner](https://github.com/bamzi/jobrunner) |
| 146 | + - [Gocron](https://github.com/go-co-op/gocron) |
| 147 | + |
| 148 | +14. 微服務 |
| 149 | + |
| 150 | + 1. 消息代理 |
| 151 | + - [RabbitMQ](https://www.rabbitmq.com/tutorials/tutorial-one-go.html) |
| 152 | + - [Apache Kafka](https://kafka.apache.org/) |
| 153 | + - [ActiveMQ](https://github.com/apache/activemq) |
| 154 | + - [Azure Service Bus](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview) |
| 155 | + 2. 建立事件驅動服務 |
| 156 | + - [Watermill](https://github.com/ThreeDotsLabs/watermill) |
| 157 | + - [Message-Bus](https://github.com/vardius/message-bus) |
| 158 | + 3. 框架 |
| 159 | + - [GoKit](https://github.com/go-kit/kit) |
| 160 | + - [Micro](https://github.com/micro/go-micro) |
| 161 | + - [rpcx](https://github.com/smallnest/rpcx) |
| 162 | + 4. RPC |
| 163 | + - [Protocol Buffers](https://github.com/protocolbuffers/protobuf) |
| 164 | + - [gRPC-Go](https://github.com/grpc/grpc-go) |
| 165 | + - [gRPC-Gateway](https://github.com/grpc-ecosystem/grpc-gateway) |
| 166 | + - [Twirp](https://github.com/twitchtv/twirp) |
| 167 | + |
| 168 | +15. [Go 模式](https://github.com/tmrts/go-patterns) |
| 169 | + |
| 170 | +## 最後 |
| 171 | + |
| 172 | +如果您認為該路線圖有待改進,請務必提交 PR 或者發 Issue。當然,我會持續地改善它,所以你可以給這個倉儲點個 star 以便回訪。 |
| 173 | + |
| 174 | +想法來自:[ASP.NET Core Developer Roadmap](https://github.com/MoienTajik/AspNetCore-Developer-Roadmap) |
| 175 | + |
| 176 | +## 貢獻 |
| 177 | + |
| 178 | +這個路線圖是用 [Draw.io](https://www.draw.io/) 做的。專案的檔案可以在這邊找到 `golang-developer-roadmap-zh-TW.xml`。您如果想要修改它,您可以進入 [Draw.io](https://www.draw.io/) 點擊**打開已有圖表**,並且選擇這個 `xml` 檔案。它會為您打開這個路線圖。更新,並且上傳,以及更新該 ReadMe 中的對應圖片,然後提交 PR(以 `400%` 的縮放輸出 `PNG` 以及使用 [Compressor.io](https://compressor.io/compress) 來壓縮)。 |
| 179 | + |
| 180 | +- 用 PR 提交改善 |
| 181 | +- 在 Issue 中討論想法 |
| 182 | +- 傳播這個圖表 |
| 183 | + |
| 184 | +## License |
| 185 | + |
| 186 | +[](https://creativecommons.org/licenses/by-nc-sa/4.0/) |
0 commit comments