argo:Go 中的 REST API

时间:2021-07-10 18:18:33
【文件属性】:
文件名称:argo:Go 中的 REST API
文件大小:30KB
文件格式:ZIP
更新时间:2021-07-10 18:18:33
Go 阿尔戈 Go 中的 REST API。 给定一个模式: import ( sql "github.com/aodin/aspect" ) var usersDB = sql . Table ( "users" , sql . Column ( "id" , sql. Integer {}), sql . Column ( "name" , sql. String {}), sql . Column ( "age" , sql. Integer {}), sql . Column ( "password" , sql. String {}), sql . PrimaryKey ( "id" ), ) 使用表和aspect.Connection创建一个 REST 资源: users := Resource ( conn ,
【文件预览】:
argo-master
----fields.go(1KB)
----error.go(2KB)
----table.go(2KB)
----response.go(362B)
----columns.go(1KB)
----values.go(1KB)
----LICENSE.txt(1KB)
----validator.go(443B)
----api_test.go(1KB)
----table_test.go(218B)
----field.go(354B)
----many.go(8KB)
----rest.go(360B)
----many_to_many_test.go(5KB)
----validator_test.go(539B)
----.travis.yml(86B)
----db.example.json(161B)
----request.go(1KB)
----README.md(604B)
----encoder.go(2KB)
----testing.go(632B)
----resource_test.go(9KB)
----resource.go(12KB)
----params.go(631B)
----tree.go(13KB)
----many_to_many.go(7KB)
----filters.go(422B)
----.gitignore(277B)
----api.go(4KB)
----many_test.go(4KB)

网友评论