Documentation
¶
Index ¶
- func BuildWiki(dir string) error
- type Erdos
- type ErdosFormal
- type ErdosListResult
- type ErdosMatch
- type ErdosProblem
- type ErdosSearchResult
- type ErdosStatus
- type Oeis
- type OeisEntry
- type OeisMatch
- type OeisSearchMatch
- type OeisSearchResult
- type Wiki
- type WikiLinksResult
- type WikiSearchMatch
- type WikiSearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Erdos ¶
type Erdos struct {
// contains filtered or unexported fields
}
func (*Erdos) List ¶
func (e *Erdos) List() ErdosListResult
func (*Erdos) Search ¶
func (e *Erdos) Search(query string) ErdosSearchResult
type ErdosFormal ¶
type ErdosListResult ¶
type ErdosListResult struct {
Results int `json:"results"`
Problems []ErdosProblem `json:"problems"`
}
type ErdosMatch ¶
type ErdosMatch struct {
ErdosProblem
Score float64 `json:"score"`
}
type ErdosProblem ¶
type ErdosProblem struct {
Number string `yaml:"number" json:"number"`
Prize string `yaml:"prize" json:"prize"`
Status ErdosStatus `yaml:"status" json:"status"`
OEIS []string `yaml:"oeis" json:"oeis"`
Tags []string `yaml:"tags" json:"tags"`
Comment string `yaml:"comments" json:"comments,omitempty"`
Formal ErdosFormal `yaml:"formalized" json:"formalized"`
}
type ErdosSearchResult ¶
type ErdosSearchResult struct {
Query string `json:"query"`
Results int `json:"results"`
Truncated bool `json:"truncated"`
Matches []ErdosMatch `json:"matches"`
}
type ErdosStatus ¶
type Oeis ¶
type Oeis struct {
// contains filtered or unexported fields
}
func (*Oeis) Search ¶
func (o *Oeis) Search(query string) OeisSearchResult
type OeisEntry ¶
type OeisEntry struct {
ID string `json:"id"`
Name string `json:"name"`
Terms string `json:"terms"`
Comments []string `json:"comments,omitempty"`
Formulas []string `json:"formulas,omitempty"`
Xrefs []string `json:"xrefs,omitempty"`
Keywords string `json:"keywords,omitempty"`
Programs []string `json:"programs,omitempty"`
}
type OeisSearchMatch ¶
type OeisSearchResult ¶
type OeisSearchResult struct {
Query string `json:"query"`
Results int `json:"results"`
Truncated bool `json:"truncated"`
Matches []OeisSearchMatch `json:"matches"`
}
type Wiki ¶
type Wiki struct {
// contains filtered or unexported fields
}
func (*Wiki) Search ¶
func (w *Wiki) Search(query string) WikiSearchResult
type WikiLinksResult ¶
type WikiSearchMatch ¶
type WikiSearchResult ¶
type WikiSearchResult struct {
Query string `json:"query"`
Results int `json:"results"`
Truncated bool `json:"truncated"`
Matches []WikiSearchMatch `json:"matches"`
}
Click to show internal directories.
Click to hide internal directories.