1 Star 0 Fork 0

学习中的土拨鼠 / goframe-v2-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

goframe2-study-demo

介绍

  1. 基于goframe2实现的简易版curd练习demo,附带curd自动生成工具

安装教程

  1. 安装go环境、安装了gf-cli
  2. 项目根目录下执行 go mod tidy 安装相关依赖
  3. 将数据库文件 resource/sql/gf2_demo.sql 导入数据库中
  4. 将配置文件 manifest/config/config.yaml、hack/config.yaml 中的数据库配置,改为自己的
  5. 在项目根目录执行 gf gen dao -o
  6. 打开 utility/steps/step_test.go 文件,执行 TestStep 方法,生成数据表的curd文件

gf2-demo-server 使用说明

  1. 可根据实际项目修改 utility/steps/internal 目录下的 **.step文件,进行自定义生成模板
  2. 文件模板的变量有 #VAR_NAME# 、#MOUDLE_NAME# 、#ROUTE_NAME#,分别代表 内部实例名称、项目模块名称、路由前缀名称

特别感谢

  1. GoFrame是一款模块化、高性能、企业级的Go基础开发框架。如果您想使用Golang开发一个业务型项目,无论是小型还是中大型项目,GoFrame是您的不二之选。如果您想开发一个Golang组件库,GoFrame提供开箱即用、丰富强大的基础组件库也能助您的工作事半功倍。

goframe官方

  1. demo仓库 https://github.com/gogf
  2. 框架文档 https://goframe.org/
  3. 命名规范 https://goframe.org/pages/viewpage.action?pageId=30738989
  4. goframe2脚手架下载 https://github.com/gogf/gf/releases

学习

golang42章经
http://books.studygolang.com/go42

golang中文网
https://tour.go-zh.org/basics/2

golang学习手册
http://books.studygolang.com/

golang技术栈
https://golang-tech-stack.com/tutorial/

golang面试题
https://blog.csdn.net/wudean0910/article/details/121474805

golang单例
https://bbs.zblogcn.com/thread-105284.html

golang简历下载
https://landing.zhaopin.com/resume-templates?id=shangwujianyue

goframe2脚手架下载
https://github.com/gogf/gf/releases

golang-dubbo
https://dubbo.apache.org/zh/docs3-building/golang-sdk/quickstart/quickstart_triple/

golang 常见的rpc框架
https://www.haveyb.com/article/2579

goloang消息队列
https://blog.51cto.com/u_15127637/4192994

Go语言主流优秀开源库合集
https://kdocs.cn/l/cjTlioIkL0Yy

golang包搜索
https://go.libhunt.com/search?query=excel

MIT License Copyright (c) 2022 王东升 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于goframe2实现的简易版curd练习demo合集 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/drw666/goframe-v2-demo.git
git@gitee.com:drw666/goframe-v2-demo.git
drw666
goframe-v2-demo
goframe-v2-demo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891