degot

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 9 Imported by: 0

README

degot

Go service scaffolds-depot.

Install

go install github.com/zieksef/degot@latest

Usage

Generate the service directories and base files in the current directory:

degot --service orderservice

Generate the service and initialize go.mod at the same time:

degot --service orderservice --mod example.com/acme/orderservice

--service accepts any path; the last path segment becomes the service name. You can generate into a subdirectory, or anywhere outside the current directory:

# nested under the current directory
degot --service services/orderservice

# an absolute path, outside the current directory
degot --service ~/work/orderservice --mod example.com/acme/orderservice

Generated structure

<service> is the name passed to --service:

<service>/
├── api/
├── cmd/
│   └── main.go
├── configs/
├── deployments/
├── internal/
│   ├── cfg/
│   ├── infra/
│   ├── repo/
│   └── svc/
├── migrations/
├── scripts/
├── .gitignore
├── AGENTS.md
└── README.md

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