Go client library for the Linkding API.
go get -u github.com/piero-vic/go-linkding
package main
import (
"fmt"
"github.com/piero-vic/go-linkding"
)
func main() {
client := linkding.NewClient("https://linkding.example.org", "secret-token")
params := linkding.ListBookmarksParams{
Limit: 15,
}
response, err := client.ListBookmarks(params)
if err != nil {
fmt.Println(err.Error())
return
}
fmt.Println(response.Results)
}