yao/main.go
Max 8b9cd9f951 Add seed file system support and deprecate legacy registrations
- Introduced a new read-only file system for seed data, enhancing initial data seeding capabilities.
- Updated the file system registration to include the seed root and clarified comments regarding the use of app, data, system, DSL, and script registrations, marking them for future deprecation.
- Improved code clarity and maintainability by restructuring file system registrations.
2025-10-20 10:34:52 +08:00

26 lines
545 B
Go

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