cmd

package
v0.0.0-...-9abeaa0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UTF8    = charset("UTF-8")
	GB18030 = charset("GB18030")
)

Variables

View Source
var W = library{
	ErrorCheck: check.Default,
	Log:        log.Default,
}

Functions

This section is empty.

Types

type Interface

type Interface interface {
	UTF82GBK(src string) stream.Interface              //UTF8转GBK
	GBK2UTF8(src []byte) string                        //GBK转UTF8
	CmdBuf2ChineseString(arg interface{}) (str string) //CmdBuf转ChineseString
	CmdRunWithCheck(arg string)                        //输出cmd执行结果
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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