summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-03-18 20:57:09 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-03-18 20:57:09 +0100
commitfe62a4b8a2b1137faec4ae38a247ecbb2d499ebb (patch)
tree0ab2238144fad951cb361bc1de59b34850c06418
parent40a73a96bddee55f7cd9c8d5296616ae43ee6d10 (diff)
...
-rw-r--r--internal/plural/plural.go (renamed from plural.go)2
-rw-r--r--internal/plural/plural_test.go (renamed from plural_test.go)2
-rw-r--r--queue.go2
-rw-r--r--type_string.go16
4 files changed, 2 insertions, 20 deletions
diff --git a/plural.go b/internal/plural/plural.go
index ba8e802..a0b6d2e 100644
--- a/plural.go
+++ b/internal/plural/plural.go
@@ -1,4 +1,4 @@
-package main
+package plural
import "strings"
diff --git a/plural_test.go b/internal/plural/plural_test.go
index 385732b..15939f7 100644
--- a/plural_test.go
+++ b/internal/plural/plural_test.go
@@ -1,4 +1,4 @@
-package main
+package plural
import "testing"
diff --git a/queue.go b/queue.go
index f854de5..c30fcb6 100644
--- a/queue.go
+++ b/queue.go
@@ -1,7 +1,5 @@
package main
-//go:generate stringer -type=Type
-
type Type int
const (
diff --git a/type_string.go b/type_string.go
deleted file mode 100644
index ed5418f..0000000
--- a/type_string.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// 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]]
-}