1 Star 0 Fork 0

liukaiyi/gotools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
七叶 提交于 2018-12-23 08:36 . add godoc command
// Copyright 2011-2017 visualfc <[email protected]>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"github.com/visualfc/gotools/astview"
"github.com/visualfc/gotools/debugflags"
"github.com/visualfc/gotools/docview"
"github.com/visualfc/gotools/finddecl"
"github.com/visualfc/gotools/finddoc"
"github.com/visualfc/gotools/goapi"
"github.com/visualfc/gotools/godoc"
"github.com/visualfc/gotools/gofmt"
"github.com/visualfc/gotools/gopresent"
"github.com/visualfc/gotools/gotest"
"github.com/visualfc/gotools/jsonfmt"
"github.com/visualfc/gotools/oracle"
"github.com/visualfc/gotools/pkg/command"
"github.com/visualfc/gotools/pkgcheck"
"github.com/visualfc/gotools/pkgs"
"github.com/visualfc/gotools/runcmd"
"github.com/visualfc/gotools/terminal"
"github.com/visualfc/gotools/types"
)
func init() {
command.Register(types.Command)
command.Register(jsonfmt.Command)
command.Register(finddoc.Command)
command.Register(runcmd.Command)
command.Register(docview.Command)
command.Register(astview.Command)
command.Register(gopresent.Command)
command.Register(goapi.Command)
command.Register(pkgs.Command)
command.Register(oracle.Command)
command.Register(gofmt.Command)
command.Register(gotest.Command)
command.Register(finddecl.Command)
command.Register(terminal.Command)
command.Register(debugflags.Command)
command.Register(pkgcheck.Command)
command.Register(godoc.Command)
}
func main() {
command.AppName = "gotools"
command.AppVersion = "1.12"
command.AppInfo = "Go tools for liteide."
command.Main()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/skynetliu/gotools.git
[email protected]:skynetliu/gotools.git
skynetliu
gotools
gotools
master

搜索帮助