aboutsummaryrefslogtreecommitdiff
path: root/html2md_main.go
diff options
context:
space:
mode:
authorTong Sun <[email protected]>2020-07-26 00:15:49 -0400
committerTong Sun <[email protected]>2020-07-26 00:15:49 -0400
commitfffbe38292c5d0a68f8e472e27a3fffd089b2ed6 (patch)
treef7b7dbb650749ad9caffd845e433d6aa24b45a5a /html2md_main.go
parent- [+] add the initial wireframe (diff)
downloadhtml2md-fffbe38292c5d0a68f8e472e27a3fffd089b2ed6.tar.xz
html2md-fffbe38292c5d0a68f8e472e27a3fffd089b2ed6.zip
- [+] refactor func html2md() to prop_html2md.go
Diffstat (limited to 'html2md_main.go')
-rw-r--r--html2md_main.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/html2md_main.go b/html2md_main.go
index 23f5c03..40309f3 100644
--- a/html2md_main.go
+++ b/html2md_main.go
@@ -71,14 +71,3 @@ func main() {
}
fmt.Println("")
}
-
-//==========================================================================
-// Dumb root handler
-
-func html2md(ctx *cli.Context) error {
- ctx.JSON(ctx.RootArgv())
- ctx.JSON(ctx.Argv())
- fmt.Println()
-
- return nil
-}