code

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 35 Imported by: 8

Documentation

Index

Constants

View Source
const (
	HTTP  = "http"
	REDIS = "redis"
)
View Source
const (
	NCONN = "nconn"
	NREQS = "nreqs"
)
View Source
const (
	CTAGS = "ctags"
	GCC   = "gcc"
)
View Source
const (
	PACKAGE = "package"
	IMPORT  = "import"
	CONST   = "const"
	TYPE    = "type"
	FUNC    = "func"
	VAR     = "var"
)
View Source
const (
	MODULE  = "module"
	REQUIRE = "require"
	REPLACE = "replace"
	VERSION = "version"
	SERVICE = "service"
)
View Source
const (
	GOFMT     = "gofmt"
	GOIMPORTS = "goimports"
	GOTAGS    = "gotags"
)
View Source
const (
	GOPRIVATE   = "GOPRIVATE"
	GOPROXY     = "GOPROXY"
	GOPATH      = "GOPATH"
	GOCACHE     = "GOCACHE"
	GOMODCACHE  = "GOMODCACHE"
	CGO_ENABLED = "CGO_ENABLED"
)
View Source
const (
	ENV = "env"
	DOC = "doc"
	GET = "get"
)
View Source
const (
	SPLIT    = lex.SPLIT
	SPACE    = lex.SPACE
	OPERATOR = lex.OPERATOR
	PREFIX   = lex.PREFIX
	SUFFIX   = lex.SUFFIX
)
View Source
const (
	COMMENT  = "comment"
	KEYWORD  = "keyword"
	CONSTANT = "constant"
	DATATYPE = "datatype"
	FUNCTION = "function"
)
View Source
const (
	PLUG = "plug"
	SHOW = "show"
	EXEC = "exec"
)
View Source
const (
	GIT        = "git"
	REMOTE     = "remote"
	REMOTE_URL = "remoteURL"
	INIT       = "init"
	ADD        = "add"
)
View Source
const (
	BASH = "bash"
	CONF = "conf"
	VIM  = "vim"
	ISH  = "ish"
)
View Source
const (
	DEMO_C    = "demo.c"
	DEMO_SH   = "demo.sh"
	DEMO_SHY  = "demo.shy"
	DEMO_PY   = "demo.py"
	DEMO_GO   = "demo.go"
	DEMO_JS   = "demo.js"
	DEMO_CSS  = "demo.css"
	DEMO_HTML = "demo.html"
	MAIN_GO   = "main.go"
	MAIN_JS   = "main.js"

	VIMER_SAVE = "vimer.save"
)
View Source
const (
	LIB    = "lib"
	PAGE   = "page"
	PANEL  = "panel"
	PLUGIN = "plugin"
)
View Source
const (
	PAGE_CACHE_JS       = "page/cache.js"
	PAGE_CACHE_CSS      = "page/cache.css"
	USR_PUBLISH_CAN_CSS = "usr/publish/can.css"
	USR_PUBLISH_CAN_JS  = "usr/publish/can.js"
)
View Source
const AUTOGEN = "autogen"
View Source
const BENCH = "bench"
View Source
const BINPACK = "binpack"
View Source
const C = "c"
View Source
const CODE = "code"
View Source
const COMPILE = "compile"
View Source
const COMPLETE = "complete"
View Source
const CSS = "css"
View Source
const DEVPACK = "devpack"
View Source
const FAVOR = "favor"
View Source
const GO = "go"
View Source
const H = "h"
View Source
const HTML = "html"
View Source
const INNER = "inner"
View Source
const INSTALL = "install"
View Source
const JS = "js"
View Source
const MAKEFILE = "makefile"
View Source
const MOD = "mod"
View Source
const NAVIGATE = "navigate"
View Source
const PARSE = "parse"
View Source
const PPROF = "pprof"
View Source
const (
	PREPARE = "prepare"
)
View Source
const PUBLISH = "publish"
View Source
const PY = nfs.PY
View Source
const (
	PYTHON = "python"
)
View Source
const REPOS = nfs.REPOS
View Source
const SH = nfs.SH
View Source
const (
	SHELL = "shell"
)
View Source
const SHY = "shy"
View Source
const SUM = "sum"
View Source
const TEMPLATE = "template"
View Source
const UPGRADE = "upgrade"
View Source
const VIMER = "vimer"
View Source
const WEBPACK = "webpack"
View Source
const XTERM = "xterm"

Variables

View Source
var Index = &ice.Context{Name: CODE, Help: "编程中心"}

Functions

func Complete added in v1.4.2

func Complete(m *ice.Message, text string, data ice.Map)

func Gcc added in v1.6.1

func Gcc(m *ice.Message, target, source string) *ice.Message

func GitVersion added in v1.6.1

func GitVersion(m *ice.Message) string

func GoBuild added in v1.6.1

func GoBuild(m *ice.Message, target string, arg ...string) *ice.Message

func GoCache added in v1.5.13

func GoCache(m *ice.Message) string

func GoDoc added in v1.6.1

func GoDoc(m *ice.Message, k string) string

func GoEnv added in v1.6.1

func GoEnv(m *ice.Message, k string) string

func GoFmt added in v1.6.1

func GoFmt(m *ice.Message, p string)

func GoGet added in v1.6.1

func GoGet(m *ice.Message, p string)

func GoImports added in v1.6.1

func GoImports(m *ice.Message, p string)

func GoStd added in v1.6.1

func GoStd(m *ice.Message) string

func GoVersion added in v1.6.1

func GoVersion(m *ice.Message) string

func InstallAction added in v0.4.9

func InstallAction(args ...ice.Any) ice.Actions

func LoadPlug

func LoadPlug(m *ice.Message, lang ...string)

func PlugAction added in v0.6.3

func PlugAction() ice.Actions

func Prefix added in v1.4.2

func Prefix(arg ...ice.Any) string

func ProcessXterm added in v1.4.0

func ProcessXterm(m *ice.Message, cmds, text string, arg ...string)

func TagsList added in v1.4.0

func TagsList(m *ice.Message, cmds ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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