reverse

command module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 6 Imported by: 0

README

reverse

数据库表结构生成结构体。支持 Mysql、Postgres
参数说明
NAME:
   reverse - generate structs for database

USAGE:
   reverse [global options] command [command options] [arguments...]

COMMANDS:
   mysql     mysql
   postgres  postgres
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --output value, -o value  output folder (default: "models")
   --help, -h                show help
使用说明
  • mysql
    reverse mysql "root:123456@tcp(127.0.0.1:3306)/test"
    
  • postgres
    reverse postgres "host=127.0.0.1 port=32537 user=postgres password=postgres dbname=user sslmode=disable"
    
软件安装
go install github.com/charlesbases/reverse@latest

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