Documentation
¶
Overview ¶
Package gen renders the code of a project from embedded templates. Most of the logic lives in the view types, which precompute code fragments so the templates stay readable.
Index ¶
Constants ¶
View Source
const ( Header = "// Code generated by codebuild. DO NOT EDIT." YAMLHeader = "# Code generated by codebuild. DO NOT EDIT." )
View Source
const ( GRPCModule = "google.golang.org/grpc" GRPCVersion = "v1.84.0" ProtobufModule = "google.golang.org/protobuf" ProtobufVersion = "v1.36.12" GatewayDir = "gateway" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type Pagination ¶
type Workspace ¶
func GenerateWorkspace ¶
func GenerateWorkspace(opts WorkspaceOptions) (*Workspace, error)
type WorkspaceOptions ¶
Click to show internal directories.
Click to hide internal directories.