File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,6 @@ type Module struct {
103
103
LegacyPackages []* LegacyPackage
104
104
}
105
105
106
- // PackageMeta represents the metadata of a package in a module version.
107
- type PackageMeta struct {
108
- Path string
109
- Name string
110
- Synopsis string
111
- IsRedistributable bool
112
- Licenses []* licenses.Metadata // metadata of applicable licenses
113
- }
114
-
115
106
// IndexVersion holds the version information returned by the module index.
116
107
type IndexVersion struct {
117
108
Path string
Original file line number Diff line number Diff line change @@ -69,6 +69,15 @@ type Readme struct {
69
69
Contents string
70
70
}
71
71
72
+ // PackageMeta represents the metadata of a package in a module version.
73
+ type PackageMeta struct {
74
+ Path string
75
+ Name string
76
+ Synopsis string
77
+ IsRedistributable bool
78
+ Licenses []* licenses.Metadata // metadata of applicable licenses
79
+ }
80
+
72
81
// A FieldSet is a bit set of struct fields. It is used to avoid reading large
73
82
// struct fields from the data store. FieldSet is also the type of the
74
83
// individual bit values. (Think of them as singleton sets.)
You can’t perform that action at this time.
0 commit comments