Search code examples
gorevel

How to add new field in revel controller


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.


Solution

  • i added the specific structure in the controller and its resolved...