Skip to content

Commit

Permalink
autogen mark
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Jan 22, 2024
1 parent d8337af commit 0b8c1ce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/classfile_blog/gop_autogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package main

import "github.com/goplus/yap"

const _ = true

type blog struct {
yap.App
}
Expand All @@ -16,5 +18,6 @@ func (this *blog) MainEntry() {
this.Run(":8080")
}
func main() {
//line demo/classfile_blog/blog_yap.gox:7:1
yap.Gopt_App_Main(new(blog))
}
3 changes: 3 additions & 0 deletions demo/classfile_hello/gop_autogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package main

import "github.com/goplus/yap"

const _ = true

type hello struct {
yap.App
}
Expand All @@ -21,5 +23,6 @@ func (this *hello) MainEntry() {
this.Run(":8080")
}
func main() {
//line demo/classfile_hello/hello_yap.gox:10:1
yap.Gopt_App_Main(new(hello))
}
3 changes: 3 additions & 0 deletions demo/classfile_static/gop_autogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package main

import "github.com/goplus/yap"

const _ = true

type staticfile struct {
yap.App
}
Expand All @@ -15,5 +17,6 @@ func (this *staticfile) MainEntry() {
this.Run(":8888")
}
func main() {
//line demo/classfile_static/staticfile_yap.gox:4:1
yap.Gopt_App_Main(new(staticfile))
}
3 changes: 3 additions & 0 deletions demo/classfile_statichttp/gop_autogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import (
"github.com/qiniu/x/http/fs"
)

const _ = true

type statichttp struct {
yap.App
}
Expand All @@ -16,5 +18,6 @@ func (this *statichttp) MainEntry() {
this.Run(":8888")
}
func main() {
//line demo/classfile_statichttp/statichttp_yap.gox:4:1
yap.Gopt_App_Main(new(statichttp))
}

0 comments on commit 0b8c1ce

Please sign in to comment.