Skip to content

palp1tate/bubble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bubble清单

本项目来源知了传课:https://www.bilibili.com/video/BV1gJ411p7xC/?spm_id_from=333.999.0.0&vd_source=84fc27804252448ba51ef3b6abfd5d36

笔者对代码有优化更新。

一个基于gin+gorm开发的练手小项目,通过该项目可初识go web开发该有的姿势。

使用指南

下载

git clone https://github.com/palp1tate/bubble.git

配置MySQL

  1. 在你的数据库中执行以下命令,创建本项目所用的数据库:
CREATE DATABASE bubble DEFAULT CHARSET=utf8mb4;
  1. mysql.go文件中配置数据库连接信息。

编译

go build

执行

./bubble

启动之后,使用浏览器打开http://127.0.0.1:8080/即可。

image

About

Gin+Gorm实现的小清单项目

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages