1
0
mirror of https://github.com/danog/liquid.git synced 2024-12-13 17:48:39 +01:00
liquid/chunks/chunktype_string.go

17 lines
413 B
Go
Raw Normal View History

2017-06-25 17:23:20 +02:00
// Code generated by "stringer -type=ChunkType"; DO NOT EDIT.
2017-06-26 15:36:52 +02:00
package chunks
2017-06-25 17:23:20 +02:00
import "fmt"
2017-06-26 21:36:05 +02:00
const _ChunkType_name = "TextChunkTypeTagChunkTypeObjChunkType"
2017-06-25 17:23:20 +02:00
2017-06-26 21:36:05 +02:00
var _ChunkType_index = [...]uint8{0, 13, 25, 37}
2017-06-25 17:23:20 +02: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]]
}