protomagic

module
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0

README

ProtoMagic

ProtoMagic is a CLI that helps convert database tables into Protocol Buffers files.

Documentation

protomagic CLI

Minimal configuration example

databases:
  postgresql:
    dataSourceName: postgres://postgres:12345@localhost:5432/db-name?sslmode=disable
  mysql:
    dataSourceName: root:12345@tcp(localhost:3306)/db-name

Complete configuration example

See: protomagic.yaml

ProtoMagic CLI

  • Run the command by specifying the configuration file
protomagic -c ./my-config-file.yaml

Directories

Path Synopsis
cmd
protomagic command
internal
pkg

Jump to

Keyboard shortcuts

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