cmd

package
v0.0.0-...-f59783f Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOutputToListOfMaps

func ConvertOutputToListOfMaps(data io.Writer) ([]map[string]any, error)

ConvertOutputToListOfMaps converts a list of json string formatted to a list of map objects

func ConvertOutputToMap

func ConvertOutputToMap(data io.Writer) (map[string]any, error)

ConvertOutputToMap converts a json string formatted to a map object

func Run

func Run(command *exec.Cmd) (io.Writer, io.Writer, error)

Run executes the os.exec command provided

Types

This section is empty.

Jump to

Keyboard shortcuts

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