cmd

package
v0.0.0-...-dee0570 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Execute

func Execute()

This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Response

type Response struct {
	Error string      `json:"error,omitempty"`
	IsOK  bool        `json:"is_ok"`
	Nodes interface{} `json:"nodes,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL