aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-15 13:34:39 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-15 13:34:39 +0300
commit28e5f9d4b0384fe38299d60d5bf66d4441f387c3 (patch)
tree0a1362c0cce3f4ba1bbd3c516372332a32158c46 /ui
parent53cdfb64c1773b63fb9432a1525b4ac4acb154fc (diff)
Add package docs
Diffstat (limited to 'ui')
-rw-r--r--ui/messages/parser/doc.go2
-rw-r--r--ui/messages/tstring/doc.go4
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/messages/parser/doc.go b/ui/messages/parser/doc.go
new file mode 100644
index 0000000..8f91a1d
--- /dev/null
+++ b/ui/messages/parser/doc.go
@@ -0,0 +1,2 @@
+// Package parser contains the functions for parsing Matrix events into UIMessage objects.
+package parser
diff --git a/ui/messages/tstring/doc.go b/ui/messages/tstring/doc.go
new file mode 100644
index 0000000..d03a1da
--- /dev/null
+++ b/ui/messages/tstring/doc.go
@@ -0,0 +1,4 @@
+// Package tstring contains a string type that stores style data for each
+// character, allowing it to be rendered to a tcell screen essentially
+// unmodified.
+package tstring