adding some doc

This commit is contained in:
Aaron Schlesinger
2018-02-25 16:19:15 -08:00
parent 474d4a1b5b
commit cf2b030d02
+5
View File
@@ -4,6 +4,11 @@ import (
"time"
)
// RevInfo is json-encodable into the response body for
// GET baseURL/module/@v/version.info
//
// This struct is taken directly from https://research.swtch.com/vgo-module
// (see "Download Protocol" header)
type RevInfo struct {
Version string `json:"Version"` // version string
Name string `json:"Name"` // complete ID in underlying repository