NewObject returns a new Object instance. If reporter is nil, the function panics. If value is nil, failure is reported. Example: object := NewObject(t, map[string]interface{}{"foo": 123})
(reporter Reporter, value map[string]interface{})
| 24 | // |
| 25 | // object := NewObject(t, map[string]interface{}{"foo": 123}) |
| 26 | func NewObject(reporter Reporter, value map[string]interface{}) *Object { |
| 27 | return newObject(newChainWithDefaults("Object()", reporter), value) |
| 28 | } |
| 29 | |
| 30 | // NewObjectC returns a new Object instance with config. |
| 31 | // |
searching dependent graphs…