42 lines
1.2 KiB
Go
42 lines
1.2 KiB
Go
// Copyright 2011-2015 visualfc <visualfc@gmail.com>. 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/command"
|
|
"github.com/visualfc/gotools/docview"
|
|
"github.com/visualfc/gotools/finddoc"
|
|
"github.com/visualfc/gotools/goapi"
|
|
"github.com/visualfc/gotools/goimports"
|
|
"github.com/visualfc/gotools/gopresent"
|
|
"github.com/visualfc/gotools/jsonfmt"
|
|
"github.com/visualfc/gotools/oracle"
|
|
"github.com/visualfc/gotools/pkgs"
|
|
"github.com/visualfc/gotools/runcmd"
|
|
"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(goimports.Command)
|
|
command.Register(gopresent.Command)
|
|
command.Register(goapi.Command)
|
|
command.Register(pkgs.Command)
|
|
command.Register(oracle.Command)
|
|
}
|
|
|
|
func main() {
|
|
command.AppName = "gotools"
|
|
command.AppVersion = "1.0"
|
|
command.AppInfo = "Go tools for liteide."
|
|
command.Main()
|
|
}
|