Documentation
¶
Index ¶
- func DetectFromFile(path string) (mime string, isBinary bool, err error)
- func IsBinary(mime string) bool
- func Language(path string) string
- func LanguageFromExtension(ext string) string
- func LanguageFromFile(path string) string
- func LanguageFromShebang(content []byte) string
- func MIME(path string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LanguageFromExtension ¶
func LanguageFromFile ¶
func LanguageFromShebang ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.