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 (
|
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) {
|
||||||
|
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
8
type.go
8
type.go
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user