summaryrefslogtreecommitdiff
path: root/type_string.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-08-12 14:34:34 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-08-12 14:34:34 +0200
commit8912fec468336600b32fc9ba7c2532b8c78e640f (patch)
treee936bd90f926e9263027b040a4c4c8b966141b97 /type_string.go
parent14a6aa4c488bcd2d49103cbee1424b2769d77ce0 (diff)
wip
Diffstat (limited to 'type_string.go')
-rw-r--r--type_string.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/type_string.go b/type_string.go
new file mode 100644
index 0000000..ed5418f
--- /dev/null
+++ b/type_string.go
@@ -0,0 +1,16 @@
+// generated by stringer -type=Type; DO NOT EDIT
+
+package main
+
+import "fmt"
+
+const _Type_name = "TaksPlot"
+
+var _Type_index = [...]uint8{0, 4, 8}
+
+func (i Type) String() string {
+ if i < 0 || i >= Type(len(_Type_index)-1) {
+ return fmt.Sprintf("Type(%d)", i)
+ }
+ return _Type_name[_Type_index[i]:_Type_index[i+1]]
+}