util

package
v0.0.0-...-3cdde17 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExeCmd

func ExeCmd(cmd string) error

func ExeShell

func ExeShell(shell string) (string, error)

ExeShell execute shell by "sh -c ..." on Linux/macOS

func ToJson

func ToJson(v any) string

func ToPrettyJson

func ToPrettyJson(v any) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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