Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First and Last need a more flexible parameter #91

Open
elliotchance opened this issue Sep 2, 2018 · 0 comments
Open

First and Last need a more flexible parameter #91

elliotchance opened this issue Sep 2, 2018 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects

Comments

@elliotchance
Copy link
Owner

First and Last take []Node which is not compatible with things like []*DateNode. It should take an interface{} instead.

@elliotchance elliotchance added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 2, 2018
@elliotchance elliotchance added this to To do in gedcom Sep 10, 2018
elliotchance added a commit that referenced this issue Sep 13, 2018
- gedcom2html statistics page now shows all event types.
- A minor layout change for the statistic boxes so they fit better into two columns.
- Added IndividualNode.AllEvents() as an easier way to extract all nodes from an individual that have a Tag.IsEvent() of true.
- SimpleNode.String (and by extension most Node.String) now return the Value() rather than the GEDCOM rendered line which is much more approproate as a printing value.
- First() and Last() now accepts a much more flexible interface{} so it can be used with slices of more specific types.
- Added Dates() and Places() which return the shallow DateNodes or PlaceNodes respectively for each of the provided node arguments.
elliotchance added a commit that referenced this issue Sep 13, 2018
- gedcom2html statistics page now shows all event types.
- A minor layout change for the statistic boxes so they fit better into two columns.
- Added IndividualNode.AllEvents() as an easier way to extract all nodes from an individual that have a Tag.IsEvent() of true.
- SimpleNode.String (and by extension most Node.String) now return the Value() rather than the GEDCOM rendered line which is much more approproate as a printing value.
- First() and Last() now accepts a much more flexible interface{} so it can be used with slices of more specific types.
- Added Dates() and Places() which return the shallow DateNodes or PlaceNodes respectively for each of the provided node arguments.
elliotchance added a commit that referenced this issue Sep 15, 2018
- gedcom2html statistics page now shows all event types.
- A minor layout change for the statistic boxes so they fit better into two columns.
- Added IndividualNode.AllEvents() as an easier way to extract all nodes from an individual that have a Tag.IsEvent() of true.
- SimpleNode.String (and by extension most Node.String) now return the Value() rather than the GEDCOM rendered line which is much more approproate as a printing value.
- First() and Last() now accepts a much more flexible interface{} so it can be used with slices of more specific types.
- Added Dates() and Places() which return the shallow DateNodes or PlaceNodes respectively for each of the provided node arguments.
elliotchance added a commit that referenced this issue Sep 15, 2018
- gedcom2html statistics page now shows all event types.
- A minor layout change for the statistic boxes so they fit better into two columns.
- Added IndividualNode.AllEvents() as an easier way to extract all nodes from an individual that have a Tag.IsEvent() of true.
- SimpleNode.String (and by extension most Node.String) now return the Value() rather than the GEDCOM rendered line which is much more approproate as a printing value.
- First() and Last() now accepts a much more flexible interface{} so it can be used with slices of more specific types.
- Added Dates() and Places() which return the shallow DateNodes or PlaceNodes respectively for each of the provided node arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
gedcom
  
To do
Development

No branches or pull requests

1 participant