Add version filed (Mastodon 1.3+) to the Instance type
authorMikael Berthe <mikael@lilotux.net>
Fri, 28 Apr 2017 11:47:18 +0200
changeset 147 b682706e2f31
parent 146 e78f5b584c9a
child 148 ae2cbcf18b55
Add version filed (Mastodon 1.3+) to the Instance type
types.go
--- a/types.go	Sun Apr 23 15:39:51 2017 +0200
+++ b/types.go	Fri Apr 28 11:47:18 2017 +0200
@@ -84,6 +84,7 @@
 	Title       string `json:"title"`
 	Description string `json:"description"`
 	Email       string `json:"email"`
+	Version     string `json:"version"`
 }
 
 // Mention represents a Mastodon mention entity