yao/main.go
Max 0d612753e7 Update dependencies in go.mod and go.sum; refactor imports in main.go and utils.go
- Updated various dependencies in go.mod to their latest versions for improved functionality and security.
- Refactored import statements in main.go to enhance readability and organization.
- Changed the jsonrepair package import in utils.go to use a different library for better performance.
2025-05-22 23:20:11 +08:00

26 lines
546 B
Go

package main
import (
"fmt"
_ "github.com/yaoapp/gou/diff"
_ "github.com/yaoapp/gou/encoding"
_ "github.com/yaoapp/yao/aigc"
"github.com/yaoapp/yao/cmd"
_ "github.com/yaoapp/yao/crypto"
_ "github.com/yaoapp/yao/excel"
_ "github.com/yaoapp/yao/helper"
_ "github.com/yaoapp/yao/openai"
"github.com/yaoapp/yao/utils"
_ "github.com/yaoapp/yao/wework"
// _ "net/http/pprof"
)
func main() {
// go func() {
// log.Println(http.ListenAndServe("localhost:6060", nil))
// }()
utils.Init()
cmd.Execute()
fmt.Println("Hello, World!")
}