languages

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package languages define the supported languages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lang

type Lang string
const (
	Any     Lang = "any" // 代表全部语言
	Java    Lang = "java"
	Python  Lang = "python"
	GoLang  Lang = "golang"
	Ruby    Lang = "ruby"
	Ebpf    Lang = "ebpf"
	NodeJS  Lang = "nodejs"
	DotNet  Lang = "dotnet"
	PHP     Lang = "php"
	Unknown Lang = "unknown"
)

func (Lang) Is

func (l Lang) Is(target Lang) bool

func (Lang) String

func (l Lang) String() string

type LangID

type LangID int
const (
	AnyID LangID = 1 << iota
	PythonID
	GolangID
	JavaID
	RubyID
	EbpfID
	NodeJSID
	DotNetID
	PhpID
)

Jump to

Keyboard shortcuts

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