code

package
v1.9.51 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 34 Imported by: 10

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"
	GET = "get"
	TAG = "tag"
)
View Source
const (
	INCLUDE  = "include"
	COMMENT  = "comment"
	KEYWORD  = "keyword"
	CONSTANT = "constant"
	DATATYPE = "datatype"
	FUNCTION = "function"
)
View Source
const (
	PLUG = "plug"
	SHOW = "show"
	EXEC = "exec"
)
View Source
const (
	PYTHON  = "python"
	PYTHON2 = "python2"
	PYTHON3 = "python3"
)
View Source
const (
	GIT        = "git"
	REMOTE     = "remote"
	REMOTE_URL = "remoteURL"
	INIT       = "init"
	ADD        = "add"
	STATUS     = "status"
	DIFF       = "diff"
	SYNC       = "sync"
)
View Source
const (
	BASH = "bash"
	CONF = "conf"
	VIM  = "vim"
	ISH  = "ish"
)
View Source
const (
	MAIN_GO   = "main.go"
	MAIN_JS   = "main.js"
	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"

	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 (
	DEMO_JSON = "demo.json"
)
View Source
const DEVPACK = "devpack"
View Source
const DOC = "doc"
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 JSON = "json"
View Source
const MAKEFILE = "makefile"
View Source
const MOD = "mod"
View Source
const NAVIGATE = "navigate"
View Source
const PACKAGE = "package"
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 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 WORK = "work"
View Source
const XTERM = "xterm"

Variables

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

Functions

func AutogenImport added in v1.9.41

func AutogenImport(m *ice.Message, zone string) string

func AutogenMod added in v1.9.41

func AutogenMod(m *ice.Message) string

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 PackageCreate added in v1.9.5

func PackageCreate(m *ice.Message, kind, name, text, icon, link string)

func PlugAction added in v0.6.3

func PlugAction(arg ...ice.Any) 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 ReposAddFile added in v1.8.5

func ReposAddFile(m *ice.Message, dir string, file string)

func TableName added in v1.9.51

func TableName(model string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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