Documentation ¶ Index ¶ type Compiler func (c Compiler) String() string type Info func Identify(e *elf.File) Info func (c Info) String() string type Language func (l Language) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Compiler ¶ type Compiler string const ( CompilerUnknown Compiler = "" CompilerGCC Compiler = "gcc" CompilerGHC Compiler = "ghc" CompilerGo Compiler = "go" CompilerRustC Compiler = "rustc" CompilerOCaml Compiler = "ocaml" CompilerNim Compiler = "nim" CompilerTCC Compiler = "tcc" ) func (Compiler) String ¶ func (c Compiler) String() string type Info ¶ type Info struct { Compiler Compiler Language Language Version string } func Identify ¶ func Identify(e *elf.File) Info func (Info) String ¶ func (c Info) String() string type Language ¶ type Language string const ( LanguageUnknown Language = "" LanguageGo Language = "Go" LanguageCCPP Language = "C/C++" LanguageRust Language = "Rust" LanguageHaskell Language = "Haskell" LanguageOCaml Language = "OCaml" LanguageNim Language = "Nim" ) func (Language) String ¶ func (l Language) String() string Source Files ¶ View all Source files compiler.go identify.go info.go language.go Click to show internal directories. Click to hide internal directories.