mirror of
https://github.com/gomods/athens
synced 2026-02-13 00:58:08 +00:00
* Add .info to upload payload everywhere else as well + Upload payload includes Info + CLI uploads `version.info` as blob to storage + Getter and Saver methods updated for all storages implemented + Migration updated to include Info column + Tests no longer check RevInfo, now checking for Info same as Zip + Updated docs * newline in .fizz * change RevInfo.Info to []byte + change to []byte instead of io.Reader + adjust tests to check for info byte contents directly + add error check for minio client GetObject `pkg/storage/minio/getter.go`
11 lines
216 B
Go
11 lines
216 B
Go
package storage
|
|
|
|
import "io"
|
|
|
|
// Version represents a version of a module and contains .mod file, a .info file and zip file of a specific version
|
|
type Version struct {
|
|
Mod []byte
|
|
Zip io.ReadCloser
|
|
Info []byte
|
|
}
|