run

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package run debug go process

Index

Constants

View Source
const (
	MainFile = "main.go"
	WorkDir  = ".tmp"
)

Variables

This section is empty.

Functions

func Clean added in v0.1.5

func Clean()

Clean clean the workdir

func GetDirList

func GetDirList(dirpath string) ([]string, error)

GetDirList get a list of dir

func Kill

func Kill()

Kill kill a go process

func NewWatcher

func NewWatcher(pathchan chan string, stop chan int64)

NewWatcher starts an fsnotify Watcher on the specified paths

func Reload

func Reload(command []string, startChan chan bool, stop chan int64)

Reload reload a go process

Types

This section is empty.

Jump to

Keyboard shortcuts

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