Go API Reference¶
This section contains the API documentation for the Go implementation of Logseq Doctor.
Documentation
The documentation below is automatically generated from the Go source code using gomarkdoc and includes detailed API reference for all packages, including internal packages.
Packages¶
Browse the documentation for each package:
Command-line Interface¶
- cmd - CLI implementation using Cobra
Public Packages¶
- pkg/set - Generic set data structure
Internal Packages¶
- internal - Internal implementation details
- internal/backlog - Backlog management
- internal/testutils - Testing utilities
Installation¶
To use the library in your Go project:
To install the lqd binary:
Bash
# Using Homebrew (recommended)
brew install andreoliwa/formulae/logseq-doctor
# Or using go install
go install github.com/andreoliwa/logseq-doctor/cmd/lqd@latest
# Or download from releases
gh release download -R andreoliwa/logseq-doctor
Usage¶
Go
import (
"github.com/andreoliwa/logseq-doctor/pkg/set"
)
// Use the set package
s := set.NewSet[string]()
s.Add("item")
Or use the CLI: