date_node.go
Your code does not pass gofmt in 2 places. Go fmt your code! Open
Open
package gedcom
- Exclude checks
exported method DateNode.Equals should have comment or be unexported Open
Open
func (node *DateNode) Equals(node2 Node) bool {
- Exclude checks
exported method DateNode.StartDate should have comment or be unexported Open
Open
func (node *DateNode) StartDate() Date {
- Exclude checks
comment on exported method DateNode.DateRange should be of the form "DateRange ..." Open
Open
// If the node is nil both results will be zero dates.
- Exclude checks
exported method DateNode.Sub should have comment or be unexported Open
Open
func (node *DateNode) Sub(node2 *DateNode) (min Duration, max Duration, errs error) {
- Exclude checks
exported method DateNode.Similarity should have comment or be unexported Open
Open
func (node *DateNode) Similarity(node2 *DateNode, maxYears float64) float64 {
- Exclude checks
exported method DateNode.IsAfter should have comment or be unexported Open
Open
func (node *DateNode) IsAfter(node2 *DateNode) bool {
- Exclude checks
exported method DateNode.IsExact should have comment or be unexported Open
Open
func (node *DateNode) IsExact() bool {
- Exclude checks
exported method DateNode.IsValid should have comment or be unexported Open
Open
func (node *DateNode) IsValid() bool {
- Exclude checks
exported method DateNode.IsPhrase should have comment or be unexported Open
Open
func (node *DateNode) IsPhrase() bool {
- Exclude checks
exported method DateNode.EndDate should have comment or be unexported Open
Open
func (node *DateNode) EndDate() Date {
- Exclude checks
exported method DateNode.StartAndEndDates should have comment or be unexported Open
Open
func (node *DateNode) StartAndEndDates() (Date, Date) {
- Exclude checks
exported method DateNode.Warnings should have comment or be unexported Open
Open
func (node *DateNode) Warnings() Warnings {
- Exclude checks
exported method DateNode.IsBefore should have comment or be unexported Open
Open
func (node *DateNode) IsBefore(node2 *DateNode) bool {
- Exclude checks