iT邦幫忙

鐵人檔案

2023 iThome 鐵人賽
回列表
自我挑戰組

Techschool Goalng Backend Master Class 的學習記錄 系列

我相信學習程式設計的最好方法是構建一個真正的應用程式,所以為了能了解Golang Backend的開發流程與架構,我將跟隨著techschool的Golang Backend課程逐步學習如何從頭開始設計、開發和部署後端Web服務,並將這過程編寫成學習筆記。

參賽天數 23 天 | 共 31 篇文章 | 0 人訂閱 訂閱系列文 RSS系列文
DAY 1

[Day 01] Design DB schema and generate SQL

A Simple Bank Using PostgreSQL、Golang、Docker to implement simple bank API. Fea...

2023-09-16 ‧ 由 kcih4518 分享
DAY 2

[Day 02] Install & use Docker + Postgres + TablePlus to create DB schema

Download & Install Docker Desktop 開發環境是使用 Mac(Intel) + Orbtack來進行開發,亦可使用Dock...

2023-09-17 ‧ 由 kcih4518 分享
DAY 3

[Day 03] How to write & run database migration in Golang

Database Migration 後端開發中DB migration是很重要且經常性的操作,因此這個Tasks主要是學習如何使用golang migrate...

2023-09-18 ‧ 由 kcih4518 分享
DAY 4

[Day 04] Compare db/sql, gorm, sqlx & sqlc

How to implement CRUD in golang ? 今天我們將學習如何用Golang編寫程式碼來執行資料庫的CRUD(創建、讀取、更新、刪除)操...

2023-09-19 ‧ 由 kcih4518 分享
DAY 5

[Day 05] Generate CRUD Golang code from SQLC

What is CRUD? Create: insert new records to the database READ: Select or Search...

2023-09-20 ‧ 由 kcih4518 分享
DAY 6

[Day 06] Write Unit Testing for Database (postgresSQL) CRUD

Go testing Rule Golang 寫測試程式時,只需在程式名稱後面加上 _test並與程式放在同一個folder :例如程式名稱叫 accoun...

2023-09-21 ‧ 由 kcih4518 分享
DAY 7

[Day 07] A clean way to implement database transaction in Golang Part 1

What is a Database Transaction ? A single unit of work Often made up of multipl...

2023-09-22 ‧ 由 kcih4518 分享
DAY 8

[Day 08] A clean way to implement database transaction in Golang Part 2

Simple Bank Transaction Transfer 10 USD from back account 1 to bank account2...

2023-09-23 ‧ 由 kcih4518 分享
DAY 9

[Day 09] A clean way to implement database transaction in Golang Part 3

Test money transfer transaction Modify Main_test.go to export *sql.DB 在編寫stroe_...

2023-09-24 ‧ 由 kcih4518 分享
DAY 10

[Day 10] DB transaction lock & How to handle deadlock in Golang Part 1

DB Transaction Dead Lock Test Driven Development (TDD) 在實現accounts的balance前,我們先...

2023-09-25 ‧ 由 kcih4518 分享