Files
mtusi2026lab3/backend/codegen.yaml

14 lines
311 B
YAML

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