Cmd

package
v0.0.0-...-7e13a3b Latest Latest
Warning

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

Go to latest
Published: Jun 15, 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{
	Check: Check.New(),
	Log:   Log.New(),
}

Functions

This section is empty.

Types

type Cmd

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

func New

func New() Cmd

Jump to

Keyboard shortcuts

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