types

package
v1.73.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: BSD-3-Clause Imports: 0 Imported by: 7 modules, 21 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package types 开发者工具相关常量等的定义

Index

Constants

View Source
const (
	// 通过使用 go vendor 工具,从三方代码库中下载对应的插件代码
	KeyImportPackage            = "import_package"
	KeyCreateSimpleExecProject  = "create_simple_project"
	KeyCreateAdvanceExecProject = "create_advance_project"
	KeyConfigFolder             = "config_folder"
	KeyProjectName              = "project_name"
	KeyClassName                = "class_name"
	KeyExecutorName             = "executor_name"
	KeyActionName               = "action_name"
	KeyProtobufFile             = "protobuf_file"
	KeyTemplateFilePath         = "template_file_path"
	KeyUpdateInit               = "update_init"
	KeyCreatePlugin             = "create_plugin"
	KeyGenDapp                  = "generate_dapp"
	KeyDappOutDir               = "generate_dapp_out_dir"

	DefCpmConfigfile = "chain33.cpm.toml"

	TagGoPath          = "${GOPATH}"
	TagProjectName     = "${PROJECTNAME}"   // 项目名称替换标签
	TagClassName       = "${CLASSNAME}"     // 主类类名替换标签
	TagClassTypeName   = "${CLASSTYPENAME}" // ClassName+Type
	TagActionName      = "${ACTIONNAME}"    // 执行器中使用的Action替换标签
	TagExecName        = "${EXECNAME}"      // 执行器名称替换标签
	TagProjectPath     = "${PROJECTPATH}"
	TagExecNameFB      = "${EXECNAME_FB}" // 首字母大写的执行器名称替换标签
	TagTyLogActionType = "${TYLOGACTIONTYPE}"
	TagActionIDText    = "${ACTIONIDTEXT}"
	TagLogMapText      = "${LOGMAPTEXT}"
	TagTypeMapText     = "${TYPEMAPTEXT}"
	TagTypeName        = "${TYPENAME}"

	//TagImport
	TagImportPath = "${IMPORTPATH}"

	//Tag proto file
	TagProtoFileContent = "${PROTOFILECONTENT}"
	TagProtoFileAppend  = "${PROTOFILEAPPEND}"

	//Tag exec.go file
	TagExecFileContent         = "${EXECFILECONTENT}"
	TagExecLocalFileContent    = "${EXECLOCALFILECONTENT}"
	TagExecDelLocalFileContent = "${EXECDELLOCALFILECONTENT}"

	TagExecObject = "${EXEC_OBJECT}" //执行器类函数接收对象, 默认为首字母
)

const

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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