- Fix PersonBuilder example to use RelationshipCloseFriend constant
- Add godoc links for RelationshipCloseFriend, ErrUnauthorized
Assisted-by: Claude Sonnet 4 via Crush
@@ -144,7 +144,7 @@ type PingResponse struct {
}
// Ping verifies the access token is valid by calling the /ping endpoint.
-// Returns the ping response on success, or an error (typically ErrUnauthorized) on failure.
+// Returns the ping response on success, or an error (typically [ErrUnauthorized]) on failure.
func (c *Client) Ping(ctx context.Context) (*PingResponse, error) {
resp, _, err := doJSON[PingResponse](ctx, c, http.MethodGet, "/ping", nil)