Files
mtusi2026lab5/backend/codegen.yaml
T

16 lines
364 B
YAML

package: handler
generate:
models: true
chi-server: true
strict-server: true
output: api.gen.go
output-options:
overlay:
path: ../../../generator-overlay.yaml
# date-time -> handler.Timestamp: ровно 6 цифр дробной части (см. timestamp.go)
type-mapping:
string:
formats:
date-time:
type: Timestamp