NewDOid is a helper routine to create a *DOid initialized from a DInt.
(d DInt)
| 3536 | |
| 3537 | // NewDOid is a helper routine to create a *DOid initialized from a DInt. |
| 3538 | func NewDOid(d DInt) *DOid { |
| 3539 | oid := MakeDOid(d) |
| 3540 | return &oid |
| 3541 | } |
| 3542 | |
| 3543 | // AsDOid attempts to retrieve a DOid from an Expr, returning a DOid and |
| 3544 | // a flag signifying whether the assertion was successful. The function should |
no test coverage detected
searching dependent graphs…