Refactor import statements in main.go for improved organization
- Reorganized import statements in main.go to enhance readability. - Removed unused fmt import and added cmd and utils imports back for proper functionality.
This commit is contained in:
parent
0d612753e7
commit
ea053856c9
1 changed files with 4 additions and 5 deletions
9
main.go
9
main.go
|
|
@ -1,18 +1,18 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
_ "github.com/yaoapp/gou/diff"
|
_ "github.com/yaoapp/gou/diff"
|
||||||
_ "github.com/yaoapp/gou/encoding"
|
_ "github.com/yaoapp/gou/encoding"
|
||||||
_ "github.com/yaoapp/yao/aigc"
|
_ "github.com/yaoapp/yao/aigc"
|
||||||
"github.com/yaoapp/yao/cmd"
|
|
||||||
_ "github.com/yaoapp/yao/crypto"
|
_ "github.com/yaoapp/yao/crypto"
|
||||||
_ "github.com/yaoapp/yao/excel"
|
_ "github.com/yaoapp/yao/excel"
|
||||||
_ "github.com/yaoapp/yao/helper"
|
_ "github.com/yaoapp/yao/helper"
|
||||||
_ "github.com/yaoapp/yao/openai"
|
_ "github.com/yaoapp/yao/openai"
|
||||||
"github.com/yaoapp/yao/utils"
|
|
||||||
_ "github.com/yaoapp/yao/wework"
|
_ "github.com/yaoapp/yao/wework"
|
||||||
|
|
||||||
|
"github.com/yaoapp/yao/cmd"
|
||||||
|
"github.com/yaoapp/yao/utils"
|
||||||
|
//
|
||||||
// _ "net/http/pprof"
|
// _ "net/http/pprof"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -22,5 +22,4 @@ func main() {
|
||||||
// }()
|
// }()
|
||||||
utils.Init()
|
utils.Init()
|
||||||
cmd.Execute()
|
cmd.Execute()
|
||||||
fmt.Println("Hello, World!")
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue