我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Go程序的Ajax验证

Is there a Go package that supports data validation for restful apis?

It would be good if there were something similar to active model validation in Ruby?

I tried various ways but couldn't find something that offers good abstration of this need.

go-validator has support for tags and custom validators on top of the built-in ones. It can easily be added to the models for your API resources.

近期文章

  • 为什么对用户定义类型的用户定义String()的调用会引发“对BitFlag.String的调用中的参数不足”?
  • Golang GAE与Google Cloud SQL的集成
  • 使用哈希结构访问嵌套的JSON文件
  • 捆绑libgit2和git2go的自制程序问题
  • 使用Go语言构建类似Dropbox的功能
  • 无限循环-迭代,函数返回true
  • appengine dispatch.yaml找不到我的模块?
  • 限制连接到网络服务的客户端数量
  • 第三方路由器和静态文件
  • GAE(go)推送队列速率未强制执行
  • 类型-在Go中解码XML
  • 在使用Gorilla的Go ReST服务中处理JSON
  • 不完全使用cpu
  • 缓冲测试输出
  • 与需要清理的对象一起包装
  • 在GAE Golang Blobstore上处理unicode
  • 用本地目录替换远程软件包
  • App Engine作为OAuth2提供程序[关闭]
  • GAE Go测试-数据存储区查询是否可以在测试环境中工作?
  • 前往:匿名功能仅在范围内取最后一个值

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华