You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /*
- 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/v2"
-
- //go:generate make code-generate
|