1
0
mirror of https://github.com/danog/liquid.git synced 2025-01-23 08:01:15 +01:00
liquid/chunks/chunktype_string.go

17 lines
413 B
Go
Raw Normal View History

2017-06-25 11:23:20 -04:00
// Code generated by "stringer -type=ChunkType"; DO NOT EDIT.
2017-06-26 09:36:52 -04:00
package chunks
2017-06-25 11:23:20 -04:00
import "fmt"
2017-06-26 15:36:05 -04:00
const _ChunkType_name = "TextChunkTypeTagChunkTypeObjChunkType"
2017-06-25 11:23:20 -04:00
2017-06-26 15:36:05 -04:00
var _ChunkType_index = [...]uint8{0, 13, 25, 37}
2017-06-25 11:23:20 -04:00
func (i ChunkType) String() string {
if i < 0 || i >= ChunkType(len(_ChunkType_index)-1) {
return fmt.Sprintf("ChunkType(%d)", i)
}
return _ChunkType_name[_ChunkType_index[i]:_ChunkType_index[i+1]]
}