aboutsummaryrefslogtreecommitdiff
path: root/pen.go
diff options
context:
space:
mode:
Diffstat (limited to 'pen.go')
-rw-r--r--pen.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/pen.go b/pen.go
new file mode 100644
index 0000000..6bcc02b
--- /dev/null
+++ b/pen.go
@@ -0,0 +1,25 @@
+package main
+
+type Pen struct {
+ Speed int
+ Force int
+ Cap string
+}
+
+var pens = map[string]Pen{
+ "pen": Pen{
+ Speed: 10,
+ Force: 10,
+ Cap: "pen",
+ },
+ "thin": Pen{
+ Speed: 10,
+ Force: 2,
+ Cap: "blue",
+ },
+ "thick": Pen{
+ Speed: 10,
+ Force: 27,
+ Cap: "yellow",
+ },
+}