opengist/internal/index/gist.go

22 lines
335 B
Go
Raw Permalink Normal View History

2024-01-04 02:38:15 +00:00
package index
type Gist struct {
GistID uint
Username string
Title string
Content string
Filenames []string
Extensions []string
Languages []string
CreatedAt int64
UpdatedAt int64
}
type SearchGistMetadata struct {
Username string
Title string
Filename string
Extension string
Language string
}