Revel示例 - 验证

验证

validation应用程序展示了每一种验证系统的使用方式。

validation/app/

    models

        user.go     # User struct and validation routine.

    controllers

        app.go      # Introduction

        sample1.go  # Validating simple fields with error messages shown at top of page.

        sample2.go  # Validating simple fields with error messages shown inline.

        sample3.go  # Validating a struct with error messages shown inline.

 

你可能感兴趣的:(EL)