README ¶ 基于GoFrame框架开发的RESTFul api,实现了日志记录,sql语句打印,链路追踪。实现了数据的增、删、改、查(分页)。 用法 修改config.toml.example 为 config.toml,配置数据库信息,监听端口 启动服务 go run cmd/server/main.go cmd/client/main.go 中演示了增删改查(分页)的 各种用法 Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Delete(r *ghttp.Request) func Insert(r *ghttp.Request) func Run() func Select(r *ghttp.Request) func SelectById(r *ghttp.Request) func Update(r *ghttp.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Delete ¶ func Delete(r *ghttp.Request) func Insert ¶ func Insert(r *ghttp.Request) func Run ¶ func Run() func Select ¶ func Select(r *ghttp.Request) 分页查 func SelectById ¶ func SelectById(r *ghttp.Request) 通过ID查询 func Update ¶ func Update(r *ghttp.Request) Types ¶ This section is empty. Source Files ¶ View all Source files api.go middleware.go run.go Directories ¶ Show internal Expand all Path Synopsis cmd client server Click to show internal directories. Click to hide internal directories.