internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: MIT

Directories

Path Synopsis
Package auth stores and resolves YouTrack tokens.
Package auth stores and resolves YouTrack tokens.
Package browser opens URLs in the user's web browser.
Package browser opens URLs in the user's web browser.
Package build exposes version information injected at link time.
Package build exposes version information injected at link time.
Package clierr defines the error kinds commands return and the stable exit codes they map to.
Package clierr defines the error kinds commands return and the stable exit codes they map to.
Package cmdtest runs ytrack commands in-process against fake IO, a temp config dir, go-keyring's mock and a fake YouTrack server.
Package cmdtest runs ytrack commands in-process against fake IO, a temp config dir, go-keyring's mock and a fake YouTrack server.
Package config reads and writes ytrack's configuration directory:
Package config reads and writes ytrack's configuration directory:
Package editor opens text in the user's editor, as git and gh do.
Package editor opens text in the user's editor, as git and gh do.
Package hosts normalizes YouTrack service URLs.
Package hosts normalizes YouTrack service URLs.
Package iostreams bundles stdin/stdout/stderr with the terminal facts commands need: whether each stream is a TTY, whether color is on, and the terminal width.
Package iostreams bundles stdin/stdout/stderr with the terminal facts commands need: whether each stream is a TTY, whether color is on, and the terminal width.
Package output renders command results: JSON (optionally filtered by jq or a Go template), and tables.
Package output renders command results: JSON (optionally filtered by jq or a Go template), and tables.
Package prompter asks the user for input on the terminal.
Package prompter asks the user for input on the terminal.
Package worktime parses the durations and dates of YouTrack work items.
Package worktime parses the durations and dates of YouTrack work items.
youtrack
adapter
Package adapter is the typed YouTrack API surface commands use.
Package adapter is the typed YouTrack API surface commands use.
adapter/customfields
Package customfields decodes YouTrack's polymorphic issue custom fields into ytrack's own values.
Package customfields decodes YouTrack's polymorphic issue custom fields into ytrack's own values.
transport
Package transport is ytrack's HTTP layer for the YouTrack REST API: it authenticates requests, identifies the client, logs redacted debug traces and turns error responses into *APIError.
Package transport is ytrack's HTTP layer for the YouTrack REST API: it authenticates requests, identifies the client, logs redacted debug traces and turns error responses into *APIError.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL