codegen

command
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package main is the CloudMock service code generator. It reads AWS service models from botocore and generates the 4-file service scaffold: service.go, store.go, handlers.go, service_test.go.

Usage:

# Generate a complete new service
go run ./codegen --service=efs --botocore=/path/to/botocore/data

# Generate only specific operations (for backfilling existing services)
go run ./codegen --service=lambda --operations=PublishLayerVersion,GetLayerVersion --append

Jump to

Keyboard shortcuts

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