Discover Packages
github.com/dash0hq/dash0-cli
internal
output
package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Feb 17, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Truncate truncates a string to the given max length, adding "..." if truncated
type Column struct {
Header string
Width int
Value func(item interface{}) string
}
Column represents a table column configuration
Format represents the output format type
ParseFormat parses a format string into a Format type
type Formatter struct {
}
Formatter handles output formatting
NewFormatter creates a formatter for the specified output format
Format returns the configured format
Print outputs data in the configured format (JSON or YAML only)
For table format, use the type-specific table printing functions
PrintJSON outputs data as pretty-printed JSON
PrintTable prints a table with the given columns and data
PrintYAML outputs data as YAML via JSON (sigs.k8s.io/yaml). This ensures
json tags, omitempty, and custom MarshalJSON methods are respected.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.