Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirToStruct ¶
func DirToStruct(dir string, dbPath string, structToHTML func(interface{}) (res string), Generate func( db sqlite.DbResult, FindFileEntityFromID structAll.FindFileEntityFromID, structToHTML func(interface{}) (res string), ) func(entity structAll.FileEntity) (html string, xml string)) structAll.DirToStructRes
DirToStruct 从 目录 转为更可用的结构
func FilePathToWebPath ¶
FilePathToWebPath 将相对文件路径转为 web路径,主要是去除文件中的id 以及添加 .html
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.