go-spaceapi-validator

时间:2024-03-10 04:01:39
【文件属性】:

文件名称:go-spaceapi-validator

文件大小:28KB

文件格式:ZIP

更新时间:2024-03-10 04:01:39

lib spaceapi-validator Go

go-spaceapi-validator 这是golang用来验证spaceapi规格的简单库 用法 package main import ( validator "github.com/spaceapi-community/go-spaceapi-validator" "fmt" "strconv" ) func main () { fmt . Println ( "Validate with following commit: " + validator . CommitHash ) result , err := validator . Validate ( `{}` /* spaceapi json you want to validate */ ) if err != nil { panic ( err ) } fmt . Println ( "


【文件预览】:
go-spaceapi-validator-master
----schemas.go(151KB)
----go.mod(116B)
----go.sum(1KB)
----spaceapi_validator.go(3KB)
----scripts()
--------generate.go(2KB)
----LICENSE(11KB)
----README.md(800B)
----spaceapi_validator_test.go(4KB)

网友评论