fsctl

command module
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 3 Imported by: 0

README

fsctl

farseer-go 编译工具

* fsctl help	| -h	查看帮助
* fsctl version	| -v	显示当前工具版本
* fsctl new	| -n	新建项目(脚手架)
* fsctl route	| -r	动态路由配置
* fsctl add	| -a	添加领域
* fsctl mod	| -m	更新mod到最新版本

如何安装

sudo curl -L -o /usr/local/bin/fsctl "https://github.com/farseer-go/fsctl/releases/download/v0.14.2/fsctl.$(uname -s).$(uname -m)" && sudo chmod +x /usr/local/bin/fsctl

新建项目

[root@test ~]# fsctl new testgo
共生成路由:0条
成功...
[root@test ~]# tree testgo/
testgo/
├── application
│   └── module.go
├── domain
│   └── module.go
├── farseer.yaml
├── go.mod
├── infrastructure
│   ├── module.go
│   └── repository
│       ├── context
│       │   ├── mysqlContext.go
│       │   └── redisContext.go
│       └── model
├── interfaces
│   └── module.go
├── main.go
├── route.go
├── startupModule.go
└── wwwroot

8 directories, 11 files

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