We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to call a post a request to http://localhost:8080/api/users I get the error :
Undefined validation function 'exists' on field 'Username'
I'm running the project with go run hello.go
go run hello.go
And my JSON body is:
{"user":{"email":"caiquedpfc+16@gmail.com", "password":"test123", "username":"caique_coelho_15"}}
Does anyone know how to fix that?
The text was updated successfully, but these errors were encountered:
I was able to resolve my problem by doing a downgrade to gin-gonic/gin@v1.4.0 using:
go get github.com/gin-gonic/gin@v1.4.0 go build ./golang-gin-realworld-example-app
Sorry, something went wrong.
No branches or pull requests
When I try to call a post a request to http://localhost:8080/api/users I get the error :
Undefined validation function 'exists' on field 'Username'
I'm running the project with
go run hello.go
And my JSON body is:
Does anyone know how to fix that?
The text was updated successfully, but these errors were encountered: