要搞明白 Go 語言中的指針需要先知道 3 個概念:指針地址、指針類型和指針取值。go-func-pointer Go 語言中的指針---------Go 語言中的函數傳參都是值拷貝,當我們想要修改某個變量的時候,我們可以創建一個指向該變量地址的指針變量。傳遞數據使用指針,而無須拷貝數據。類型指針不能進行偏移和運算。Go 語言中的指針操作非常簡單,只需要記住兩個符號:&(取地址)和\\
\\
(根據 ⌘ Read more
# 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/anti5ya
\\
(根據 ⌘ Read more