codegen

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

README

codegen

Code generator

codegen_screenshot

Install
go install github.com/demisang/codegen@latest
Get template samples
  • Golang onion-architecture code samples (will extract to ./pkg/codegen/templates)
    DIR=pkg/codegen/templates; mkdir -p $DIR && wget -qO- https://github.com/demisang/codegen/raw/main/templates/go_onion.tar.gz | tar xvzf - -C $DIR
    

Makefile:

# codegen: run codegen app on http://localhost:4765
codegen:
	codegen --root="./" --templates="./pkg/codegen/templates"

Open GUI http://localhost:4765

Usage

Feel free to create/edit templates in pkg/codegen/templates adapted for your project

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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