英文:
How to add new field in revel controller
问题
我正在使用来自"golang"框架的验证示例。
在现有的代码中,我添加了一个新字段。然而,它无法识别字段的内容,并且总是抛出错误。
这是网址:https://github.com/revel/examples/tree/master/validation
我已经更新了模型、控制器和视图中的条目,但仍然出现错误。
英文:
i am using the validation example from the "revel" golang framework.
in the existing code, i have added new field. however, it is not recognizing the the contents of field and always throws the error.
here is the url: https://github.com/revel/examples/tree/master/validation
i have updated the entries in the model, controller and views. it is still throwing error.
答案1
得分: 0
我在控制器中添加了具体的结构,并解决了问题...
英文:
i added the specific structure in the controller and its resolved...
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论