# 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/33dze7q
你所知道的 string 和 []byte 轉換方法可能是錯的**
前幾天閒聊的時候,景埕 1] 說網上很多 string 和 []byte 的轉換都是有問題的,當時並沒有在意,轉過身沒幾天我偶然看到[字節跳動的一篇文章,其中提到了他們是如何優化 string 和 []byte 轉換的,我便問景埕有沒有問題,討論過程中學到了很多,於是便有了這篇總結。讓我們看看問題代碼,類似的 string 和 []byte 轉換代碼在網上非常常見:func StringToSli ⌘ Read more