package
Version:
v0.0.0-...-dee0570
Opens a new window with list of versions in this module.
Published: Dec 28, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var RootCmd = &cobra.Command{
Use: "html2json",
Short: "html转json工具",
Long: `将HTML转为各种小程序富文本组件 rich-text 支持的JSON,并支持自定义信任的HTML标签.`,
}
RootCmd represents the base command when called without any subcommands
This is called by main.main(). It only needs to happen once to the rootCmd.
type Response struct {
Error string `json:"error,omitempty"`
IsOK bool `json:"is_ok"`
Nodes interface{} `json:"nodes,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.