utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists added in v0.3.0

func DirExists(filename string) bool

func FileExists

func FileExists(filename string) bool

func MkDirIfNone added in v0.3.0

func MkDirIfNone(dir string) error

func Print

func Print(rd io.Reader) error

func RunCmd

func RunCmd(cmd *exec.Cmd) error

Types

type ErrorDetail

type ErrorDetail struct {
	Message string `json:"message"`
}

type ErrorLine

type ErrorLine struct {
	Error       string      `json:"error"`
	ErrorDetail ErrorDetail `json:"errorDetail"`
}

type LogLine

type LogLine struct {
	Stream string `json:"stream"`
}

Jump to

Keyboard shortcuts

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