没有合适的资源?快使用搜索试试~ 我知道了~
go-jsonschema:一种从JSON模式定义生成Go数据类型的工具
共68个文件
json:26个
output:25个
go:12个
需积分: 49 0 下载量 198 浏览量
2021-02-03
20:50:33
上传
评论
收藏 50KB ZIP 举报
温馨提示
go-jsonschema是从定义生成Go数据类型的工具。 该工具生成与架构中的定义相对应的Go数据类型和结构,以及根据架构的验证规则验证输入JSON的解编代码。 正在安装 二进制安装:获取版本。 来自源:为了获得正确的依赖性,建议启用Go模块的Go 1.11或更高版本。 安装: $ go get github.com/atombender/go-jsonschema/... $ go install github.com/atombender/go-jsonschema/cmd/gojsonschema 用法 最基本的: $ gojsonschema -p main schema.js
资源推荐
资源详情
资源评论
收起资源包目录
go-jsonschema-master.zip (68个子文件)
go-jsonschema-master
.travis.yml 1KB
pkg
yamlutils
yaml.go 601B
schemas
model.go 6KB
parse.go 2KB
types.go 403B
generator
generate.go 22KB
validator.go 2KB
utils.go 2KB
codegen
emitter.go 1KB
model.go 6KB
utils.go 962B
cmd
gojsonschema
main.go 5KB
tests
integration_test.go 5KB
data
misc
capitalization.json 731B
capitalization.go.output 1KB
core
refExternalFileWithDupe.go.output 855B
objectNested.json 393B
4.2.1_array.go.output 2KB
object.json 309B
refExternalFile.json 311B
ref.json 411B
4.2.1_array.json 963B
refToPrimitiveString.json 275B
primitives.go.output 1KB
object.go.output 844B
primitives.json 383B
objectEmpty.json 199B
refToEnum.go.output 1KB
ref.go.output 432B
objectNested.go.output 559B
refExternalFileWithDupe.json 453B
objectEmpty.go.output 253B
refExternalFile.go.output 768B
refToPrimitiveString.go.output 245B
refToEnum.json 301B
miscWithDefaults
cyclicAndRequired2.json 578B
cyclic.go.output 438B
cyclicAndRequired1.go.output 896B
rootEmptyJustDefinitions.go.output 200B
caseDupes.json 389B
cyclicAndRequired2.go.output 1KB
rootIsArrayOfString.json 168B
cyclic.json 502B
cyclicAndRequired1.json 546B
case.json 452B
rootIsArrayOfString.go.output 120B
caseDupes.go.output 692B
rootEmptyJustDefinitions.json 254B
case.go.output 862B
validation
10.1_description.go.output 371B
6.1.2_enum.go.output 10KB
6.1.2_enum.json 988B
6.1.1_typeMultiple.json 605B
6.5.3_requiredFields.go.output 5KB
6.1.1_typeMultiple.go.output 634B
6.5.3_requiredFields.json 2KB
10.1_description.json 330B
crossPackage
other.json 247B
schema.json 437B
other.go.output 189B
schema.go.output 536B
crossPackageNoOutput
other.json 247B
schema.json 437B
schema.go.output 536B
LICENSE 1KB
go.sum 2KB
README.md 4KB
go.mod 473B
共 68 条
- 1
资源评论
msjhfu
- 粉丝: 27
- 资源: 4607
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 549springboot + vue 民宿管理平台.zip (可运行源码+数据库文件+文档)
- ZArchiver.Pro_0.9.5.apk
- vmware环境配置.mp4
- 548springboot + vue 大学生社团活动平台.zip(可运行源码+数据库文件+文档)
- 微信小程序 辩论倒计时小程序源码 作业设计demo 计算机专业参考
- 深入探究文件IO,嵌入式Linux
- 微信备忘录小程序源码 作业设计demo 计算机专业作业
- 微信小程序 仿百度小说小程序 看小说小程序 实现源码
- 锂电资料包-锂离子电池技术干货资料合集.zip
- (王道计算机组成原理)第三章存储系统-第二节1:主存储器基本构成、基本的半导体原件和存储器芯片的原理_主存储器与存储芯片-CSDN博客 (2024….html
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功