repo.me/internal/model/catalog.go

13 lines
263 B
Go
Raw Normal View History

2024-04-10 22:10:09 +08:00
package model
2024-04-15 18:02:54 +08:00
type Repo struct {
Name string
CreatedAt int64
UpdatedAt int64
}
2024-04-10 22:10:09 +08:00
type Catalog struct {
2024-04-15 18:02:54 +08:00
Repositories []string `json:"repositories"`
Repos []*PackageManifest `json:"repos"`
Total int `json:"total"`
2024-04-10 22:10:09 +08:00
}