vgo

command module
v1.10.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

README

Vgo

Build Release

vAdmin 的 Go 版本后端

TODO

  • 基础 CURD 结构搭建
  • model 层快速生成
  • service 层快速生成
  • controller 层快速生成
  • 中间件错误状态及错误码与 node 版本统一
  • 全局错误码统一
  • controller 层接口输入与 node 版本统一
  • 优化开发工具安装体验
  • service 层逻辑补全
  • base 模块逻辑补全 感谢 @imhuso
  • 开发文档编制
  • 数据库驱动补充
  • 文件上传驱动补充
  • 其他项目需求

使用说明

首先下载安装 Go 语言环境,如果没有安装,请自行安装,如果已经安装,请自行配置环境变量

1.安装vgo-tools开发工具

从 github 下载

wget -O vgo-tools https://github.com/vera-byte/vgo/releases/latest/download/vgo-tools_$(go env GOOS)_$(go env GOARCH) && chmod +x vgo-tools && ./vgo-tools install  && rm ./vgo-tools

如果到直接下载速度过慢,可使用pgit加速安装

pgit wget -O vgo-tools https://github.com/vera-byte/vgo/releases/latest/download/vgo-tools_$(go env GOOS)_$(go env GOARCH) && chmod +x vgo-tools && ./vgo-tools install  && rm ./vgo-tools

通过go install安装

go install github.com/vera-byte/vgo/vgo-tools@latest

验证

vgo-tools version
2.创建新项目
vgo-tools init hello-world
3.安装依赖
cd hellow-world
go mod tidy
5.启动开发环境
vgo-tools run main.go

enjoy it!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
contrib
drivers/mysql Module
drivers/pgsql Module
files/local Module
files/minio Module
files/oss Module
docs module
internal
cmd
base Module
demo Module
dict Module
space Module
task Module
v module
vgo-tools module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL