gen

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command gen writes the files that come from the endpoint groups: for each group that Uses a type, its gen/api.yaml, the routes in gen/api.go and the decoders in gen/decode.go, and internal/controller/endpoints/all/gen, which registers every group's routes. go generate in internal/controller/endpoints/all runs it.

Directories

Path Synopsis
Package genutil holds what the endpoint layer's writers share: the fields of an input as JSON reads them, and the house layout of a jen group.
Package genutil holds what the endpoint layer's writers share: the fields of an input as JSON reads them, and the house layout of a jen group.
Package routegen writes the route table and the decoders of an endpoint group, for the endpoint generator and the behavior generator alike, so a behavior's routes are the same code as an endpoint's.
Package routegen writes the route table and the decoders of an endpoint group, for the endpoint generator and the behavior generator alike, so a behavior's routes are the same code as an endpoint's.
Package specgen writes the specs as the repository keeps them, for the endpoint generator and the behavior generator alike: the spec of each group, and the full spec of the API, which joins them.
Package specgen writes the specs as the repository keeps them, for the endpoint generator and the behavior generator alike: the spec of each group, and the full spec of the API, which joins them.

Jump to

Keyboard shortcuts

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