NewObject creates a CreateStruct instruction for an object with a given type name and optional set of field initializers.
(typeName string, fieldInits ...*exprpb.Expr_CreateStruct_Entry)
| 90 | // NewObject creates a CreateStruct instruction for an object with a given type name and |
| 91 | // optional set of field initializers. |
| 92 | NewObject(typeName string, fieldInits ...*exprpb.Expr_CreateStruct_Entry) *exprpb.Expr |
| 93 | |
| 94 | // NewObjectFieldInit creates a new Object field initializer from the field name and value. |
| 95 | NewObjectFieldInit(field string, init *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry |
nothing calls this directly
no outgoing calls
no test coverage detected