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 added in v1.16.0

func IsGenerated(path string) bool

IsGenerated returns whether or not path is a generated path.

func IsVendor added in v1.13.7

func IsVendor(path string) bool

IsVendor returns whether or not path is a vendor path.

Types

This section is empty.

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