vgo

command module
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
openapi module
plugin module
recycle module
space module
task module
user module
v module
vgo-tools module

Jump to

Keyboard shortcuts

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