Skip to content

Commit

Permalink
Merge pull request #13 from xushiwei/blog
Browse files Browse the repository at this point in the history
Gopt_App_Main doc
  • Loading branch information
xushiwei authored Jan 8, 2024
2 parents d4e8dde + 8838f5b commit f9a7602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (p App) Run__1(addr string, mws ...func(h http.Handler) http.Handler) {
p.Run__0(os.DirFS("."), addr, mws...)
}

// Gopt_App_Main is required by Go+ compiler as the entry of a .yapx project.
// Gopt_App_Main is required by Go+ compiler as the entry of a YAP project.
func Gopt_App_Main(app Apper) {
app.initApp()
app.(interface{ MainEntry() }).MainEntry()
Expand Down

0 comments on commit f9a7602

Please sign in to comment.