Documentation
¶
Index ¶
Constants ¶
View Source
const SchemaVersion = "pinax.content_bundle.v1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
type Item ¶
type Item struct {
ID string `json:"id" yaml:"id"`
Title string `json:"title,omitempty" yaml:"title,omitempty"`
Category string `json:"category,omitempty" yaml:"category,omitempty"`
Language string `json:"language,omitempty" yaml:"language,omitempty"`
Prompt string `json:"prompt,omitempty" yaml:"prompt,omitempty"`
SourceURL string `json:"source_url,omitempty" yaml:"source_url,omitempty"`
Featured bool `json:"featured,omitempty" yaml:"featured,omitempty"`
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
Techniques []string `json:"techniques,omitempty" yaml:"techniques,omitempty"`
Styles []string `json:"styles,omitempty" yaml:"styles,omitempty"`
Subjects []string `json:"subjects,omitempty" yaml:"subjects,omitempty"`
}
type Stats ¶
type Stats struct {
Items int `json:"items"`
CompleteItems int `json:"complete_items"`
MissingPromptItems int `json:"missing_prompt_items"`
FeaturedItems int `json:"featured_items"`
Languages map[string]int `json:"languages,omitempty"`
Categories map[string]int `json:"categories,omitempty"`
Issues []Issue `json:"issues,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.