github.com/goplus/yap@v0.8.1/demo/classfile2_static/gop_autogen.go (about) 1 // Code generated by gop (Go+); DO NOT EDIT. 2 3 package main 4 5 import "github.com/goplus/yap" 6 7 const _ = true 8 9 type AppV2 struct { 10 yap.AppV2 11 } 12 //line demo/classfile2_static/main.yap:1 13 func (this *AppV2) MainEntry() { 14 //line demo/classfile2_static/main.yap:1:1 15 this.Static__0("/foo", this.FS("public")) 16 //line demo/classfile2_static/main.yap:2:1 17 this.Static__0("/") 18 //line demo/classfile2_static/main.yap:4:1 19 this.Run(":8080") 20 } 21 func (this *AppV2) Main() { 22 yap.Gopt_AppV2_Main(this) 23 } 24 func main() { 25 new(AppV2).Main() 26 }