mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-25 00:18:53 +01:00
18 lines
430 B
Go
18 lines
430 B
Go
|
// Code generated by "stringer -type=DataType"; DO NOT EDIT.
|
||
|
|
||
|
package rpc
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
const _DataType_name = "DataTypeNoneDataTypeControlDataTypeMarshaledJSONDataTypeOctets"
|
||
|
|
||
|
var _DataType_index = [...]uint8{0, 12, 27, 48, 62}
|
||
|
|
||
|
func (i DataType) String() string {
|
||
|
i -= 1
|
||
|
if i >= DataType(len(_DataType_index)-1) {
|
||
|
return fmt.Sprintf("DataType(%d)", i+1)
|
||
|
}
|
||
|
return _DataType_name[_DataType_index[i]:_DataType_index[i+1]]
|
||
|
}
|