golang實戰使用gin+xorm搭建go語言web框架restgo詳解10 使用restgo搭建後臺管理系統

1、首先上效果

登錄頁面登入首頁自由配置角色和權限支持系統自定義參數

2、如何使用

2.1、使用如下指令克隆

cd $GOPATH/src git clone https://github.com/winlion/restgo-admin.git 你將得到restgo-admin 目錄 進入目錄 cd restgo-admin

2.2、數據庫

新建數據庫名稱爲restgo-admin,編碼爲utf-8
將restgo-admin.sql導入到數據庫中

2.3、初始化依賴包

使用前先使用如下指令安裝指令安裝文件
go get github.com/go-sql-driver/mysql
go get -v -u github.com/alecthomas/log4go
go get github.com/gin-gonic/gin
go get github.com/go-sql-driver/mysql
go get github.com/go-xorm/xorm
go get github.com/tommy351/gin-sessions

2.4、啓動

使用前先使用如下指令啓動應用
go run main.go 
使用前先使用如下指令打包應用

build.bat

3、FAQ

3.1 如何安裝開發環境

如果你使用的是vscode,安裝問題請訪問
https://www.cnblogs.com/Leo_wl/p/8242628.html
go get github.com/nsf/gocode
go get github.com/uudashr/gopkgs/cmd/gopkgs
go get github.com/fatih/gomodifytags
go get github.com/haya14busa/goplay/cmd/goplay
go get github.com/derekparker/delve/cmd/dlv

3.2 如何聯繫我

我的微信 jiepool-winlion

我的qq 271151388


本文源代碼地址

http://github.com/winlion/restgo-admin

待提供源代碼清單

10.1 restgo後臺管理框架

10.天天任務清單小程序

10.工業大數據採集

10.restgo cms 

10.restgo 千人大羣

golang實戰使用gin+xorm搭建go語言web框架restgo詳解1.1 go語言的困境

golang實戰使用gin+xorm搭建go語言web框架restgo詳解1.2 我要做什麼

golang實戰使用gin+xorm搭建go語言web框架restgo詳解2 框架基本架構

golang實戰使用gin+xorm搭建go語言web框架restgo詳解3 系統常用配置參數

golang實戰使用gin+xorm搭建go語言web框架restgo詳解4 路由配置

golang實戰使用gin+xorm搭建go語言web框架restgo詳解5 控制器C

golang實戰使用gin+xorm搭建go語言web框架restgo詳解5.2 跳轉和重定向

golang實戰使用gin+xorm搭建go語言web框架restgo詳解5.3 資源控制器

golang實戰使用gin+xorm搭建go語言web框架restgo詳解5.4 控制器參數綁定

golang實戰使用gin+xorm搭建go語言web框架restgo詳解5.5 控制器模型綁定

golang實戰使用gin+xorm 搭建 go語言web框架restgo搭建詳解5.6 控制器參數校驗

Golang go語言整合gin+xorm 搭建 web框架restgo搭建詳解5.7 控制器數據響應

golang實戰使用gin+xorm搭建go語言web框架restgo詳解5.9 控制器controller編程

golang實戰使用gin+xorm搭建go語言web框架restgo詳解6.1 模型M和Orm

golang實戰使用gin+xorm搭建go語言web框架restgo詳解6.4 推薦編程方式

golang實戰使用gin+xorm搭建go語言web框架restgo詳解7 視圖層V

golang實戰使用gin+xorm搭建go語言web框架restgo詳解8 關於模板

golang實戰使用gin+xorm搭建go語言web框架restgo詳解9 session、日誌、鑑權


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章