mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
fixed constant iotas
This commit is contained in:
parent
92cd8c6976
commit
b277944b2a
@ -6,10 +6,10 @@ package slinguist
|
||||
|
||||
const (
|
||||
TypeUnknown = iota
|
||||
TypeData = iota
|
||||
TypeProgramming = iota
|
||||
TypeMarkup = iota
|
||||
TypeProse = iota
|
||||
TypeData
|
||||
TypeProgramming
|
||||
TypeMarkup
|
||||
TypeProse
|
||||
)
|
||||
|
||||
func GetLanguageType(language string) (langType int) {
|
||||
|
@ -6,10 +6,10 @@ package slinguist
|
||||
|
||||
const (
|
||||
TypeUnknown = iota
|
||||
TypeData = iota
|
||||
TypeProgramming = iota
|
||||
TypeMarkup = iota
|
||||
TypeProse = iota
|
||||
TypeData
|
||||
TypeProgramming
|
||||
TypeMarkup
|
||||
TypeProse
|
||||
)
|
||||
|
||||
func GetLanguageType(language string) (langType int) {
|
||||
|
@ -6,10 +6,10 @@ package slinguist
|
||||
|
||||
const (
|
||||
TypeUnknown = iota
|
||||
TypeData = iota
|
||||
TypeProgramming = iota
|
||||
TypeMarkup = iota
|
||||
TypeProse = iota
|
||||
TypeData
|
||||
TypeProgramming
|
||||
TypeMarkup
|
||||
TypeProse
|
||||
)
|
||||
|
||||
func GetLanguageType(language string) (langType int) {
|
||||
|
@ -6,10 +6,10 @@ package slinguist
|
||||
|
||||
const (
|
||||
TypeUnknown = iota
|
||||
TypeData = iota
|
||||
TypeProgramming = iota
|
||||
TypeMarkup = iota
|
||||
TypeProse = iota
|
||||
TypeData
|
||||
TypeProgramming
|
||||
TypeMarkup
|
||||
TypeProse
|
||||
)
|
||||
|
||||
func GetLanguageType(language string) (langType int) {
|
||||
|
10
type.go
10
type.go
@ -5,11 +5,11 @@ package slinguist
|
||||
// Extracted from github/linguist commit: dae33dc2b20cddc85d1300435c3be7118a7115a9
|
||||
|
||||
const (
|
||||
TypeUnknown = iota
|
||||
TypeData = iota
|
||||
TypeProgramming = iota
|
||||
TypeMarkup = iota
|
||||
TypeProse = iota
|
||||
TypeUnknown = iota
|
||||
TypeData
|
||||
TypeProgramming
|
||||
TypeMarkup
|
||||
TypeProse
|
||||
)
|
||||
|
||||
func GetLanguageType(language string) (langType int) {
|
||||
|
Loading…
Reference in New Issue
Block a user