Documentation ¶
Overview ¶
Package codegen generates code for use with Encore apps.
Index ¶
Constants ¶
View Source
const ( // GoInitial is the originally released Go client generator GoInitial goGenVersion = iota // GoExperimental can be used to lock experimental or uncompleted features in the generated code // It should always be the last item in the enum GoExperimental )
View Source
const ( // TsInitial is the originally released typescript generator TsInitial tsGenVersion = iota // TsExperimental can be used to lock experimental or uncompleted features in the generated code // It should always be the last item in the enum TsExperimental )
Variables ¶
View Source
var ErrUnknownLang = errors.New("unknown language")
ErrUnknownLang is reported by Generate when the language is not known.
Functions ¶
Types ¶
type IdentFormat ¶ added in v1.1.0
type IdentFormat int
const ( CamelCase IdentFormat = iota // camelCase PascalCase // PascalCase SnakeCase // snake_case ScreamingSnakeCase // SCREAMING_SNAKE_CASE KebabCase // kebab-case )
Click to show internal directories.
Click to hide internal directories.