Help us shape the future of Go! Take the 2026 Go Developer Survey

analyze

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCodeLanguage

func GetCodeLanguage(filename string, content []byte) string

GetCodeLanguage detects code language based on file name and content

func IsGenerated

func IsGenerated(path string) bool

IsGenerated returns whether or not path is a generated path.

func IsVendor

func IsVendor(path string) bool

IsVendor returns whether or not path is a vendor path.

Types

This section is empty.

Source Files

  • code_language.go
  • generated.go
  • vendor.go

Jump to

Keyboard shortcuts

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