mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
20c6d2845a
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
17 lines
597 B
Go
17 lines
597 B
Go
/*
|
|
Package enry implements multiple strategies for programming language identification.
|
|
|
|
Identification is made based on file name and file content using a seriece
|
|
of strategies to narrow down possible option.
|
|
Each strategy is available as a separate API call, as well as a main enty point
|
|
|
|
GetLanguage(filename string, content []byte) (language string)
|
|
|
|
It is a port of the https://github.com/github/linguist from Ruby.
|
|
Upstream Linguist YAML files are used to generate datastructures for data
|
|
package.
|
|
*/
|
|
package enry // import "github.com/src-d/enry"
|
|
|
|
//go:generate make code-generate
|