Commits

Ross Light  committed acbf3ca

Add Version constant

  • Participants
  • Parent commits 8d60abc

Comments (0)

Files changed (1)

File stackexchange.go

 package stackexchange
 
 // Root is the Stack Exchange API endpoint.
-const Root = "https://api.stackexchange.com/2.1"
+const Root = "https://api.stackexchange.com/" + Version
+
+// Version is the API version identifier.
+const Version = "2.1"