Documentation
¶
Overview ¶
Package models is for loading and updating documentation files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Products = new(products)
Functions ¶
func GetBlog ¶
func GetBlog(fullName, lang string) *docFile
GetBlog returns 'docFile' by given name and language version.
func GetDoc ¶
func GetDoc(fullName, lang string) *docFile
GetDoc returns 'docFile' by given name and language version.
func InitModels ¶
func InitModels()
Types ¶
type DocNode ¶
type DocNode struct {
IsDir bool
Path string
RelPath string
FileRelPath string
FilePath string
Date time.Time
Name string
Sort int
Link string
Docs DocList
Root *DocRoot
Parent *DocNode
// contains filtered or unexported fields
}
func (*DocNode) GetContent ¶
func (*DocNode) HasContent ¶
Click to show internal directories.
Click to hide internal directories.