package
0.0.0-20211029172612-87137c7280bd
Repository: https://github.com/buildsi/codegen.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GenerateCppRandom generates randomized types for all templates.
Generate formal params, either for a function or structure.
Generate a function from an entry.
No description provided by the author
GetFloatValue returns a float value depending on type of float and if is complex TODO not written yet!.
Integral numeric types.
INTEGRAL Possible integral types NOTE __int128 removed for now, need help to define!.
GetIntegralValue returns an integral value depending on the type.
No description provided by the author
Functions to create new Formal Parameters (all random).
NewInt returns a new int.
NewIntegral returns a new integral type.
NewIntegralNumeric returns a new integral numeric type.
NewStruct returns a new struct type, which also includes its own set of fields.
WriteTemplate to a filepath.
# Structs
Integral Types.
A Function holds a name and one or more formal params.
Integral Types.
Structure or Union Type.
# Interfaces
FormalParam holds a type of formal parameter.