GO Frame框架搭建一个web网站(一)

本文介绍了如何使用Go Frame框架搭建一个web网站。首先,我们了解了Go Frame框架的基本概念,接着从官方网站下载gf-cli工具。接下来,进行了需求分析并创建了数据库。然后,我们构建了初始化项目,并开始编写配置文件,为web应用打下基础。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、Go Frame框架学习

官方文档

Go Frame 框架官方网站

2、下载gf-cli(Go Frame开发工具链)

工具开源项目地址,提供了各种操作系统版本和安装方法

完整命令
D:\goland\代码区\test1>gf
USAGE
    gf COMMAND [ARGUMENT] [OPTION]

COMMAND
    env        show current Golang environment variables
    get        install or update GF to system in default...
    gen        automatically generate go files for ORM models...
    mod        extra features for go modules...
    run        running go codes with hot-compiled-like feature...
    init       create and initialize an empty GF project...
    help       show more information about a specified command
    pack       packing any file/directory to a resource file, or a go file...
    build      cross-building go project for lots of platforms...
   
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值