# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/dupxueq
golang 使用信號量併發安全的遷移千萬條數據**
由於公司業務需要: 需將 PostgreSQL 數據庫中的 9 百萬條數據 遷移到 MySQL.現將遷移腳本的開發過程記錄如下:安裝驅動庫go get -u gorm.io/gormgo get -u gorm.io/driver/postgresgo get -u gorm.io/driver/mysql初始化數據庫連接import (  "gorm.io/driver/postgres"  " ⌘ Read more