aidi-gin

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 7 Imported by: 0

README

AIDI-GIN

基于proto的gin脚手架

当前版本支持 xos和linux,后续支持windows

依赖

安装 protoc install

使用

go install github.com/SigmaGavin/slardar/cmd/aidi-gin@latest

可执行的aidi-gin 在 $HOME/go/bin中,请将此添加到PATH中

创建项目

aidi-gin new --name projectname

项目中的proto编译

aidi-gin proto

NAME:
   aidi-gin proto - Generate api and svc go codes

USAGE:
   aidi-gin proto command [command options] [arguments...]

COMMANDS:
   add  --  Create a proto with template
   api  -- Generate api go code from the `path`
   svc  -- Generate service go code based the `path`

OPTIONS:
   --help, -h  show help

具体内容详见 文档

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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