lang_ext

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommonBackLanguageExt = map[string]string{
	".go":   "golang",
	".java": "java",
	".py":   "python",
}
View Source
var CommonExcludeDir = map[string]string{
	"dist":              "dist",
	"node_modules":      "node_modules",
	"public":            "public",
	"vendor":            "vendor",
	"cmake-build-debug": "cmake-build=debug",
}
View Source
var CommonExcludeFileExt = map[string]string{
	".exe":   "exe",
	".pyc":   "pyc",
	".bin":   "bin",
	".dll":   "dll",
	".pdb":   "pdb",
	".pt":    "pt",
	".log":   "log",
	".o":     "c/c++",
	".so":    "c/c++",
	".dylib": "dylib",
	".sum":   "golang go.sum",
}
View Source
var CommonExcludeFileName = map[string]string{
	"package.json":      "package.json",
	"package-lock.json": "package-lock.json",
}
View Source
var CommonFileName = map[string]string{
	"Makefile":   "Makefile",
	"makefile":   "makefile",
	"Dockerfile": "Dockerfile",
	"README.md":  "ReadMe",
	"Readme.md":  "ReadMe",
}
View Source
var CommonFrontLanguageExt = map[string]string{
	".html": "html",
	".vue":  "vue",
	".css":  "css",
	".js":   "js",
}
View Source
var CommonLanguageExt = map[string]string{
	".cfg":        "Config",
	".go":         "Golang",
	".java":       "Java",
	".py":         "Python",
	".lua":        "Lua",
	".j2":         "Jinja",
	".c":          "C",
	".cc":         "C++",
	".hh":         "C++ Header",
	".h":          "C/C++ Header",
	".cgi":        "cgi",
	".cpp":        "C++",
	".hpp":        "C++",
	".js":         "JavaScript",
	".ts":         "TypeScript",
	".vue":        "Vue",
	".json":       "Json",
	".yaml":       "Yaml",
	".yml":        "Yaml",
	".ini":        "Ini",
	".md":         "Markdown",
	".sh":         "Shell",
	".html":       "Html",
	".css":        "CSS",
	".pl":         "Perl",
	".perl":       "Perl",
	".xml":        "XML",
	".proto":      "Grpc",
	".txt":        "Text",
	".rst":        "RST",
	".ipynb":      "Jupyter",
	".m4":         "M4",
	".am":         "AutoMake",
	".texi":       "TEXINFO",
	".po":         "PO File",
	".awk":        "awk",
	".rc":         "Windows Resource File",
	".bmp":        "Bitmap",
	".tex":        "TeX",
	".php":        "PHP",
	".conf":       "Configuration File",
	".ac":         "Autoconf Script",
	".nsi":        "NSIS Script",
	".asc":        "Key File",
	".patch":      "Patch File",
	".sgml":       "Markup Language File",
	".xaml":       "XML",
	".pyx":        "pyx",
	".cuh":        "Cuda Header",
	".cu":         "Cuda Source",
	".bat":        "bat",
	".toml":       "Toml",
	".jsonl":      "Jsonl",
	".Dockerfile": "Dockerfile",
}
View Source
var CommonLanguageLowerReverseExt = make(map[string]string)
View Source
var CommonLanguageReverseExt = make(map[string]string)
View Source
var ExcludeLineCount = map[string]string{
	".woff2": "woff2",
	".woff":  "woff",
	".mp4":   "MP4",
	".mp3":   "MP3",
	".wav":   "WAV",
	".avi":   "AVI",
	".flac":  "FLAC",
	".png":   "Png",
	".tif":   "TIF",
	".jpg":   "Jpg",
	".jpeg":  "Jpg",
	".gif":   "GIF",
	".ico":   "Ico",
	".pdf":   "PDF",
	".ttf":   "TTF",
	".csv":   "CSV",
	".zip":   "Zip",
	".data":  "Data",
	".model": "Model",
	".svg":   "SVG",
	".gz":    "Tar File",
	".tgz":   "Tar File",
	".tar":   "Tar File",
	".sig":   "Signature File",
	".pyi":   "pyi",
	".pptx":  "ppt",
	".pth":   "PTH",
	".pkl":   "PKL",
	".h5":    "H5",
	".npy":   "npy",
	".npz":   "npz",
	".db":    "Database Files",
	".obj":   "OBJ",
	".ply":   "PLY",
	".pb":    "PB",
}
View Source
var KnownFileExt = make(map[string]string)

Functions

func CommonDepLockFile added in v0.0.2

func CommonDepLockFile() map[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