书栈网 · BookStack 本次搜索耗时 0.020 秒,为您找到 77 个相关结果.
  • 概念

    1115 2019-05-02 《Go Revel 中文手册》
    概念 MVC 请求的生命周期 HTTP Handler 过滤器 控制器和方法 Results 概念 Revel 从Rails 和 Play! 中吸收了许多成熟的设计思想, 许多相同的思想被用到了框架的设计和接口中。 Revel 通过简单的约定来支持 MVC 设计模式,轻量、开发效率高。 MVC 模型 描述基本的数据对象,特定的查...
  • Testing

    Testing Overview Developing a test suite Running a test suite Running tests interactively Running tests non-interactively Implementation notes Areas for development Revel p...
  • Debugging

    Hot Reload Testing Module Debug using gdb Intellij debugging (goland) By default, the revel run command without a run_mode defaults to dev . Hot Reload As part of the d...
  • Deployment

    Overview Build locally Incremental deployment Build on the server Heroku Boxfuse and Amazon Web Services Cross-compilation Revel does NOT have connection/resource managemen...
  • 测试

    测试 概要 开发一个测试套件 运行测试套件 运行交互式测试 运行非交互式测试 注意事项 开发计划 测试 Revel提供了一个测试框架,可以很容易地编写和运行针对您的应用程序的功能测试。 应用程序带有一个简单的测试骨架以便快速上手测试。 概要 测试代码保存在测试目录中: corp / myapp app / ...
  • app.conf

    Example Run Modes Environment variables Example Composing other parameters Example Custom properties Example External app.conf Example Built-in properties Application set...
  • 计划任务

    计划任务 激活 选项 启动计划任务 周期性任务 时间表 临时任务 注册函数 任务状态 限制池的大小 开发状态 计划任务 Revel 支持计划任务(异步执行), 运行在请求流程的外部。比如,更新缓存数据的周期性任务,或发送电子邮件的临时任务。 激活 该框架是一个可选模块,默认是禁用的。要将它激活,需要在配置文件中添加该模块: ...
  • Templates

    How Revel Picks the Right Template Engine File Path Case Sensitivity Directory Scanning Render Context GoDoc Reference GitHub Labels Revel by default uses Go’s built in html...
  • 参数绑定

    参数绑定 参数 控制器方法参数绑定 绑定器 Booleans Slices Struct Date / Time 文件上传 自定义绑定器 参数绑定 Revel 尽可能让客户端传来的参数转换成Go语言的数据类型变得简单。这种从字符串转换成另外一种类型被称为“数据绑定”。 参数 所有的请求参数被收集到一个单独的 Params 对...
  • Cache

    Implementations Expiration Serialization Configuration Cache Example Session usage GoDoc Reference GitHub Labels Revel provides a Cache library for server-side, temporary...