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

17 lines
400 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"
const _ChunkType_name = "TextChunkTagChunkObjChunk"
var _ChunkType_index = [...]uint8{0, 9, 17, 25}
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]]
}