createFirst creates and returns the first sub container of this container.
(opts []Option)
| 205 | |
| 206 | // createFirst creates and returns the first sub container of this container. |
| 207 | func (c *Container) createFirst(opts []Option) error { |
| 208 | first, err := newChild(c, opts) |
| 209 | if err != nil { |
| 210 | return err |
| 211 | } |
| 212 | c.first = first |
| 213 | return nil |
| 214 | } |
| 215 | |
| 216 | // createSecond creates and returns the second sub container of this container. |
| 217 | func (c *Container) createSecond(opts []Option) error { |
no test coverage detected