pkg

package
v0.0.0-...-40a2af1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdKill

func CmdKill(cmd *exec.Cmd) error

func ExecCommandInDir

func ExecCommandInDir(dir, cmdName string, args ...string) error

func FileCreateFromTemplate

func FileCreateFromTemplate(path, tmplName string, data ...any) error

func FileGomodRead

func FileGomodRead(target string) (*modfile.Module, error)

func FileWriteAfterMarker

func FileWriteAfterMarker(target, marker, content string) error

func NewCommandInDir

func NewCommandInDir(dir, cmdName string, args ...string) *exec.Cmd

func NewCommandWithCtx

func NewCommandWithCtx(ctx context.Context, cmdName string, args ...string) *exec.Cmd

func PathJoinCWD

func PathJoinCWD(file string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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