Emperor_Shun_Reading/go/main.go

26 lines
282 B
Go
Raw Normal View History

2024-08-22 01:03:01 +00:00
package main
import (
"embed"
"github.com/wallace5303/ee-go/eboot"
"electron-egg/router"
)
var (
//go:embed public/**
staticFS embed.FS
)
func main() {
// Initialize ee-go
ego := eboot.New(staticFS)
// User business logic
router.Api()
// ee-go runtime
ego.Run()
}