# gf-test **Repository Path**: mr_nobody/gf-test ## Basic Information - **Project Name**: gf-test - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-24 - **Last Updated**: 2021-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GoFrame 学习使用 基于 goframe 框架写了一些示例代码 https://goframe.org ## 需求 1. 学生的CURD接口 2. 教师的CURD接口 3. 教师与学生关联 ## 项目概述 * 产品名称:GoFrame基础及工具 * 项目代号:GoFrame Base 该项目为基于 goframe 框架封装的基础代码, 用于提供接口服务 ## 功能如下 - 待完善 ## 运行环境要求 - go 1.16+ - GoFrame 1.16.4+ ## 开发环境部署/安装 本项目代码使用 golang 框架 [GoFrame](https://goframe.org/) 开发,本地开发环境推荐使用 Linux。 ### 基础安装 #### 1. 克隆源代码 克隆源代码到本地: > git clone git@gitee.com:xxx.git #### 2. 安装扩展包依赖 go mod vendor #### 4. 生成配置文件 ``` cp config/config.example.toml config/config.toml ``` 修改 `config.toml` 文件里的内容: - 数据库配置 #### 6. 设置任务调度 ``` ./main command schedule:run ``` ## 自定义 command 命令 | 命令行名字 | 说明 | Cron | 代码调用 | |--------------------------------|-----------------------------------------|------|----------| | `test` | 用作测试 | 无 | 无 |