types.go
changeset 187 e1b1f4a168b7
parent 186 eb9e257ba50c
child 190 0684ddad598c
--- a/types.go	Sat May 27 13:18:48 2017 +0200
+++ b/types.go	Sat May 27 19:12:01 2017 +0200
@@ -26,6 +26,9 @@
 Entities - Everything manipulated/returned by the API
 */
 
+// DomainName is a domain name string, as returned by the domain_blocks API
+type DomainName string
+
 // Account represents a Mastodon account entity
 type Account struct {
 	ID             int64     `json:"id"`