NewDDate is a helper routine to create a *DDate initialized from its argument.
(d pgdate.Date)
| 2006 | // NewDDate is a helper routine to create a *DDate initialized from its |
| 2007 | // argument. |
| 2008 | func NewDDate(d pgdate.Date) *DDate { |
| 2009 | return &DDate{Date: d} |
| 2010 | } |
| 2011 | |
| 2012 | // MakeDDate makes a DDate from a pgdate.Date. |
| 2013 | func MakeDDate(d pgdate.Date) DDate { |
no outgoing calls
no test coverage detected
searching dependent graphs…