Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 793 Bytes

File metadata and controls

30 lines (22 loc) · 793 Bytes

orders-api

This project foundation is scaffolded by Devctl.

Bootstrap

mise install
go mod download all
go mod tidy
devctl lint
devctl gen
go mod tidy
mise run check

Run the API with go run ./cmd/orders-api api.

Updating the foundation

  • Run devctl sync after changing remote sources.
  • Run devctl init scaffold after changing components in devctl.yaml.
  • Run devctl gen after changing API or schema contracts.

Devctl replaces files ending in *.gen.go. Ordinary .go files and this README are created once, so application code and local notes are preserved.

When a component adds a provider seed, review it and call the provider from internal/deps/application.go. That file is the user-owned composition root; Devctl does not rewrite its provider list.