Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ygidtu/practice_go

gin+vue+elementUI 练手写的小玩意
https://github.com/ygidtu/practice_go

gin

Last synced: about 9 hours ago
JSON representation

gin+vue+elementUI 练手写的小玩意

Awesome Lists containing this project

README

        

- [goptions](https://github.com/voxelbrain/goptions):构建命令行
- [gin](https://github.com/gin-gonic/gin):比起beego这种重型框架,还是喜欢这种轻量级的
- [gin-sessions](https://github.com/gin-contrib/sessions):gin的session插件,用户登录操作
- [archiver](https://github.com/mholt/archiver):压缩文件,压缩文件夹,方便下载文件夹。不过当然不是边压缩边下载,那么复杂干嘛。
- [go-rice](https://github.com/GeertJohan/go.rice):打包静态文件,便于编译成统一的二进制

然后使用Vue + elementUI重写了页面,效果如下:
![](./img/main.png)

---

```bash
$ ./server/server_linux_amd64 -h
Usage: server_linux_amd64 [global options]

Global options:
--host host (default: 127.0.0.1)
--port port (default: 5000)
--dir File directory (default: server)
--user Username (default: admin)
--passwd Password (default: admin)
--disable-delete Disable delete button
-h, --help Show this help

```