func (this *AdminController) ShowEditors() { if !this.isAdmin() { return } user := models.User{} users := user.GetEditors() bytes, _ := json.Marshal(users) this.Data["json"] = string(bytes) this.ServeJson() }