Documentation
¶
Overview ¶
Package cppgen is the C++ generator: the port of CppCG.java and cpp.vm. The DTO and DAO of a C++ project are headers <Class>.h in one folder, <folders target> of settings.xml; the names of fields and CRUD methods follow <dto field-names-mode> (FieldNamesMode).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldNamesMode ¶
func FieldNamesMode(fnm int) cg.FieldNamesMode
FieldNamesMode is <dto field-names-mode> of C++ (CppCG.field_names_mode): 0 - as is (the column names), 1 - lowerCamelCase, 2 - snake_case. Not the one of Go: 0 is TitleCase there.
Types ¶
Click to show internal directories.
Click to hide internal directories.