MyGoNote
https://kimi0230.github.io/MyGoNote/
Golang隨手筆記. My Golang Note. Some sameple codes. Auto build Gitbook to Github Page by GitHub Action.
Prepare Works
1. Generate Github Personal Access Token
go to your https://github.com/settings/profile -> Developer settings -> Personal access tokens

2. Put Github Personal Access Token to Actions secrets of your repository
go to https://github.com/kimi0230/{your repo name}/settings/secrets/actions
Name=GH_ACCESS_TOKEN
Value={your Personal Access Token}
3. Gitbook
install gitbook package
npm install -g gitbook
npm install -g gitbook-cli
npm install -g gitbook-summary
gitbook install
fix: /usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287 if (cb) cb.apply(this, arguments)
cd /usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/
npm install graceful-fs@4.2.0 --save
fix: run gitbook pdf:InstallRequiredError: "ebook-convert" is not installed.
sudo ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin
generate SUMMARY.md
book sm -i _book node_modules
start service
gitbook serve .
build static file
gitbook build --output=/build/MyGoNote
export file
- gitbook epub 製作 ePub 電子書
- gitbook mobi 製作 Kindle 電子書
- gitbook pdf 製作 PDF 電子書
gitbook epub [book] [output]
Plugin
- plantuml : About Gitbook PlantUml plugin is used to select from markdown uml and converting it into a picture format svg.
vscode keyboard shortcuts
- markdown-image.paste:
shift+alt+v
git
git submodule add https://github.com/kimi0230/LeetcodeGolang.git LeetcodeGolang
git submodule add https://github.com/kimi0230/assets.git assets
git submodule add https://github.com/kimi0230/DesignPatternGolang.git DesignPatternGolang
git submodule add https://github.com/kimi0230/reverse-interview-zh-tw Interview/reverse-interview-zh-tw
git submodule add https://github.com/kimi0230/guide uber-go-guide
git submodule add https://github.com/DrmagicE/wire-examples Golang/Engineering_Design/01.Standard_Go_Layout/example/wire-examples
git submodule add https://github.com/microsoft/winget-cli-restsource.git Technic/Windows/WinGet/winget-cli-restsource
git submodule add https://github.com/kimi0230/azure-demo.git Technic/Azure/azure-demo
git pull
git pull
git submodule sync --recursive
git submodule update --init --recursive
git submodule update --recursive --remote
GitHub Action Workflows
- https://github.com/actions/upload-artifact
- https://github.com/actions/download-artifact
- https://github.com/softprops/action-gh-release
- [Youtube] Upload Assets to GitHub Releases using GitHub Actions
- GitHub Action + Release
網址
Reference
- Udemy concurrency-in-go-golang
- 使用 Github Action 自動編譯並發布 Hugo 產生的頁面到 Github Pages
- 一個用於方便的在 Markdown 中插入圖片的擴展,支持將圖片存放在本地或第三方的圖床或對象存儲。
- vscode-imgur
- Udemy concurrency-in-go-golang
- go语言并发之MPG模型
- Git Submodule 介紹與使用
- GitHub Action Checkout submodules
- tabletomarkdown.com
- wastemobile: gitbook 教學
- [Book]Go 语言设计与实现
- [Book]advanced-go-programming-book
- [Book]Go語言原本
- [Book]Go 入门指南
- 《Go语言高并发与微服务实战》代码
- 小浩算法是一套针对小白的完整的算法训练流程
- 小浩算法
- Codility Solutions
- GitHub:《代码随想录》LeetCode 刷题攻略:200道经典题目刷题顺序
- GitHub: Anfany/Codility-Lessons-By-Python3
- GitHub: Luidy/codility-golang
- GitHub: wufenggirl/LeetCode-in-Golang
- GitHub: anakin/golang-leetcode
- GitHub: jwasham/coding-interview-university: A complete computer science study plan to become a software engineer.
- GitHub: checkcheckzz/system-design-interview: System design interview for IT companies
- GitHub: kdn251/interviews: Everything you need to know to get the job.