tartrazine/enry.go
Josh Soref b28e1b8881 spelling: service
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00

17 lines
605 B
Go

/*
Package enry implements multiple strategies for programming language identification.
Identification is made based on file name and file content using a service
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/go-enry/go-enry/v2"
//go:generate make code-generate