# 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/bjludsq
Go 框架 Gin 怎麼實現允許前端跨域請求?**
大家好,我是 frank。 歡迎大家關注「Golang 語言開發棧」公衆號。 01 介紹 在前後端分離的項目中,前端在請求服務端提供的接口時,往往會遇到跨域請求的問題,服務端可以通過 CORS 的方式解決,限於篇幅,關於跨域和 CORS 的詳細介紹,讀者朋友們可以自行查閱相關資料。Go 框架 Gin 官方提供了 CORS 中間件,可以很方便地實現使用 CORS 解決跨域問題,本文我們介 ⌘ Read more