diff --git a/internal/code-generator/assets/type.go.tmpl b/internal/code-generator/assets/type.go.tmpl index aaa5282..bf063a2 100644 --- a/internal/code-generator/assets/type.go.tmpl +++ b/internal/code-generator/assets/type.go.tmpl @@ -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) { diff --git a/internal/code-generator/generator/test_files/formated_type.gold b/internal/code-generator/generator/test_files/formated_type.gold index 6d0de86..8ce97d1 100644 --- a/internal/code-generator/generator/test_files/formated_type.gold +++ b/internal/code-generator/generator/test_files/formated_type.gold @@ -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) { diff --git a/internal/code-generator/generator/test_files/type.gold b/internal/code-generator/generator/test_files/type.gold index 1ed18ba..a128e6c 100644 --- a/internal/code-generator/generator/test_files/type.gold +++ b/internal/code-generator/generator/test_files/type.gold @@ -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) { diff --git a/internal/code-generator/generator/test_files/type.test.go.tmpl b/internal/code-generator/generator/test_files/type.test.go.tmpl index aaa5282..bf063a2 100644 --- a/internal/code-generator/generator/test_files/type.test.go.tmpl +++ b/internal/code-generator/generator/test_files/type.test.go.tmpl @@ -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) { diff --git a/type.go b/type.go index 1e4fa58..32058e4 100644 --- a/type.go +++ b/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) {