Hi, all,
I just started using Go on GAE.
When I was using GAE Go SDK locally the app works well
But after I pushed the files to server .
It always said HTML page is not found.
This is structure of files
and the YAML file
application: myowngaetestapp
version: 1
runtime: go
api_version: go1
handlers:
- url: /static
static_dir: static
- url: /.*
script: myowngaetestapp.application
And this is the error log
panic: open /base/data/home/apps/s~myowngaetestapp/1.369657101922042571/index.html: no such file or directory
runtime.panic go/src/pkg/runtime/panic.c:230
html/template.Must go/src/pkg/html/template/template.go:284
app.getTemplate app/app.go:323
app.Context.Render app/app.go:170
app.Context.Show app/app.go:166
demo.index demo/demo.go:16
app.func·001 app/app.go:269
net/http.HandlerFunc.ServeHTTP go/src/pkg/net/http/server.go:1150
net/http.(*ServeMux).ServeHTTP go/src/pkg/net/http/server.go:1417
appengine_internal.executeRequestSafely go/src/pkg/appengine_internal/api_prod.go:250
appengine_internal.(*server).HandleRequest go/src/pkg/appengine_internal/api_prod.go:200
reflect.Value.call go/src/pkg/reflect/value.go:474
reflect.Value.Call go/src/pkg/reflect/value.go:345
_ _.go:316
runtime.goexit go/src/pkg/runtime/proc.c:280