class type User {
name string
}
Is it possible to add a field age
at runtime?
class type User {
name string
}
Is it possible to add a field age
at runtime?
No it is not possible.
Not even with Java or C++ syntax instead of valid Go.