// Code generated by "stringer -type=LangType --linecomment"; DO NOT EDIT.

package common

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[LangTypeChinese-1]
	_ = x[LangTypeEnglish-2]
}

const _LangType_name = "中文英文"

var _LangType_index = [...]uint8{0, 6, 12}

func (i LangType) ToString() string {
	i -= 1
	if i < 0 || i >= LangType(len(_LangType_index)-1) {
		return "LangType(" + strconv.FormatInt(int64(i+1), 10) + ")"
	}
	return _LangType_name[_LangType_index[i]:_LangType_index[i+1]]
}
