simple_node.go
Method SimpleNode.Equals
has 5 return statements (exceeds 4 allowed). Open
Open
func (node *SimpleNode) Equals(node2 Node) bool {
if node == nil {
return false
}
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
package gedcom
- Exclude checks
comment on exported method SimpleNode.Tag should be of the form "Tag ..." Open
Open
// If the node is nil the result will be an empty tag.
- Exclude checks
comment on exported method SimpleNode.Value should be of the form "Value ..." Open
Open
// If the node is nil the result will be an empty string.
- Exclude checks
comment on exported method SimpleNode.Pointer should be of the form "Pointer ..." Open
Open
// If the node is nil the result will be an empty string.
- Exclude checks
exported method SimpleNode.AddNode should have comment or be unexported Open
Open
func (node *SimpleNode) AddNode(n Node) {
- Exclude checks
exported method SimpleNode.DeleteNode should have comment or be unexported Open
Open
func (node *SimpleNode) DeleteNode(n Node) (didDelete bool) {
- Exclude checks
exported method SimpleNode.MarshalJSON should have comment or be unexported Open
Open
func (node *SimpleNode) MarshalJSON() ([]byte, error) {
- Exclude checks
exported method SimpleNode.ObjectMap should have comment or be unexported Open
Open
func (node *SimpleNode) ObjectMap() map[string]interface{} {
- Exclude checks
comment on exported method SimpleNode.Nodes should be of the form "Nodes ..." Open
Open
// If the node is nil the result will also be nil.
- Exclude checks
exported method SimpleNode.RawSimpleNode should have comment or be unexported Open
Open
func (node *SimpleNode) RawSimpleNode() *SimpleNode {
- Exclude checks