pkg

package
v0.0.0-...-d04dd38 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCommand

func BuildCommand(raw string, codePath string) (command string)

BuildCommand 替换命令中的占位符

func Clear

func Clear()

func ExecBuild

func ExecBuild(sourcePath string, language string) (success bool, output string)

ExecBuild 执行编译,成功返回 "", 失败返回错误字符串

func ExecRun

func ExecRun(outChan chan string, sourcePath string, language string, inputPath string)

func GetBinFileName

func GetBinFileName(sourceFileName string) string

func GetFileNameWithoutExt

func GetFileNameWithoutExt(full string) string

func GetStringWithLineLimit

func GetStringWithLineLimit(text string, lineLimit int) string

func SplitCommand

func SplitCommand(command string) (name string, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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