Discover Packages
github.com/cloudposse/atmos
pkg
data
package
Version:
v1.198.0-test.4
Opens a new window with list of versions in this module.
Published: Nov 5, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1 module, 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
¶
InitWriter initializes the global data writer with an I/O context.
This should be called once at application startup (in root.go).
Write writes content to the data channel (stdout).
Flow: data.Write() → io.Write(DataStream) → masking → stdout.
func WriteJSON(v interface{}) error
WriteJSON marshals v to JSON and writes to the data channel (stdout).
Flow: data.WriteJSON() → io.Write(DataStream) → masking → stdout.
func WriteYAML(v interface{}) error
WriteYAML marshals v to YAML and writes to the data channel (stdout).
Flow: data.WriteYAML() → io.Write(DataStream) → masking → stdout.
Writef writes formatted content to the data channel (stdout).
Flow: data.Writef() → io.Write(DataStream) → masking → stdout.
Writeln writes content followed by a newline to the data channel (stdout).
Flow: data.Writeln() → io.Write(DataStream) → masking → stdout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.