-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathmain.go
51 lines (47 loc) · 1.54 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright 2011-2023 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/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(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.4"
command.AppInfo = "Go tools for liteide."
command.Main()
}