utils

package
v0.0.0-...-71620d6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDirectory

func IsDirectory(name string) bool

func LoadPackage

func LoadPackage(patterns []string, tags []string) *packages.Package

func RunCommand

func RunCommand(command []string, verbose bool) error

RunCommand runs a command and returns an error if it fails. If verbose is true, the command output is printed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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