astaxie / beegae

beego for GAE
Other
38 stars 11 forks source link

I had trouble running the example: appengine-angular-gotodos #11

Closed jackgris closed 10 years ago

jackgris commented 10 years ago

This was the problem: github.com/astaxie/beegae/admin.go:72: too many arguments in call to toolbox.StatisticsMap.GetMap

When I changed this on github.com/astaxie/beegae/admin.go, returned to work again.

func qpsIndex(rw http.ResponseWriter, r *http.Request) {
      toolbox.StatisticsMap.GetMap() // (rw) , change this
} 

This is fine? There's something I'm doing wrong?

Another question, is on another project when their controllers called AppEngineCtx This's the project: https://github.com/ozonesurfer/beegoapp2 I think he does it properly, but the error says that the controller does not have that field or function named AppEngineCtx: P It is a problem of this project or beegae?

jbltx commented 10 years ago

I made the same modification, and I wanted to know if it's safe or not too. Thank you.

someone1 commented 10 years ago

My apologies, I haven't followed any of the beego main branch updates that may be causing issues here. I'll update beegae to 1.4.1 tonight

someone1 commented 10 years ago

I've caught up to 1.4.1 and the example application runs fine again. Please let me know if you uncover any further issues!