mirror of
https://github.com/gomods/athens
synced 2026-02-09 14:08:11 +00:00
adding some doc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user