components

command
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 6 Imported by: 0

README

Components

The components cmd is meant to use a yaml configuration file, which will define what components should be generated, and any metadata/settings to use when performing the generation.

Setup

Add the following to your mise.toml file

[tools]
"go:github.com/project-init/devex/cmd/components" = "latest"

Then you can run the cmd like

components .components

Example config can be found here, but a general example looks like

outputDirectory: "gen"

db:
  schemaName: data_platform

Components

DB

The DB components will output a general setup with users, schema, and iam permissions setup. It also has some default migrations and post release scripts to run for DB setup. It also has a sqlc configuration, as the assumption is you are working with a Postgres cluster for a Go service.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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