# go.orm **Repository Path**: xpp666/go.orm ## Basic Information - **Project Name**: go.orm - **Description**: 一个go的orm RestfulAPI demo - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-12 - **Last Updated**: 2021-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go.orm ## 一个go的orm RestfulAPI demo 成功启动后 使用浏览器或者postman **get : http://localhost:3000/user/query/{id}** 根据id查询用户信息 **post: http://localhost:3000/user/register** 注册一个用户,id自增 需要一串inbody的json作为参数,例如: {   "name":"xpppp",   "phone":"111111",   "address":"china" } **delete: http://localhost:3000/user/delete/{id}** 删除此id的用户 **put: http://localhost:3000/user/update** 根据id修改用户信息 需要一串inbody的json作为参数,例如: {   "id": 2,   "name":"xpppp",   "phone":"22222",   "address":"米国" }