fixed constant iotas

This commit is contained in:
Manuel Carmona 2017-04-17 12:00:50 +02:00
parent 92cd8c6976
commit b277944b2a
5 changed files with 21 additions and 21 deletions

View File

@ -6,10 +6,10 @@ package slinguist
const ( const (
TypeUnknown = iota TypeUnknown = iota
TypeData = iota TypeData
TypeProgramming = iota TypeProgramming
TypeMarkup = iota TypeMarkup
TypeProse = iota TypeProse
) )
func GetLanguageType(language string) (langType int) { func GetLanguageType(language string) (langType int) {

View File

@ -6,10 +6,10 @@ package slinguist
const ( const (
TypeUnknown = iota TypeUnknown = iota
TypeData = iota TypeData
TypeProgramming = iota TypeProgramming
TypeMarkup = iota TypeMarkup
TypeProse = iota TypeProse
) )
func GetLanguageType(language string) (langType int) { func GetLanguageType(language string) (langType int) {

View File

@ -6,10 +6,10 @@ package slinguist
const ( const (
TypeUnknown = iota TypeUnknown = iota
TypeData = iota TypeData
TypeProgramming = iota TypeProgramming
TypeMarkup = iota TypeMarkup
TypeProse = iota TypeProse
) )
func GetLanguageType(language string) (langType int) { func GetLanguageType(language string) (langType int) {

View File

@ -6,10 +6,10 @@ package slinguist
const ( const (
TypeUnknown = iota TypeUnknown = iota
TypeData = iota TypeData
TypeProgramming = iota TypeProgramming
TypeMarkup = iota TypeMarkup
TypeProse = iota TypeProse
) )
func GetLanguageType(language string) (langType int) { func GetLanguageType(language string) (langType int) {

View File

@ -6,10 +6,10 @@ package slinguist
const ( const (
TypeUnknown = iota TypeUnknown = iota
TypeData = iota TypeData
TypeProgramming = iota TypeProgramming
TypeMarkup = iota TypeMarkup
TypeProse = iota TypeProse
) )
func GetLanguageType(language string) (langType int) { func GetLanguageType(language string) (langType int) {