date.go
Your code does not pass gofmt in 5 places. Go fmt your code! Open
Open
// Dates
- Exclude checks
exported method Date.IsBefore should have comment or be unexported Open
Open
func (date Date) IsBefore(date2 Date) bool {
- Exclude checks
package comment should be of the form "Package gedcom ..." Open
Open
// Dates
- Exclude checks
comment on exported function NewDateRangeWithNow should be of the form "NewDateRangeWithNow ..." Open
Open
// NewDateWithNow creates a two Dates that represents the the start and end of
- Exclude checks
exported function NewZeroDate should have comment or be unexported Open
Open
func NewZeroDate() Date {
- Exclude checks
exported method Date.Sub should have comment or be unexported Open
Open
func (date Date) Sub(date2 Date) Duration {
- Exclude checks
exported method Date.IsAfter should have comment or be unexported Open
Open
func (date Date) IsAfter(date2 Date) bool {
- Exclude checks