Documentation
¶
Index ¶
- func WriteWithFileWrite(name, content string)
- type MarkDown
- func (md *MarkDown) Save()
- func (md *MarkDown) WriteCode(contents string, language string)
- func (md *MarkDown) WriteContent(content string)
- func (md *MarkDown) WriteForm(contents [][]string)
- func (md *MarkDown) WriteImportantContent(content string)
- func (md *MarkDown) WriteTitle(level int, content string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteWithFileWrite ¶
func WriteWithFileWrite(name, content string)
使用os.OpenFile()相关函数打开文件对象,并使用文件对象的相关方法进行文件写入操作 清空一次文件
Types ¶
type MarkDown ¶
type MarkDown struct {
// contains filtered or unexported fields
}
func NewMarkDown ¶
func (*MarkDown) WriteContent ¶
func (*MarkDown) WriteImportantContent ¶
func (*MarkDown) WriteTitle ¶
Click to show internal directories.
Click to hide internal directories.