update code header format
This commit is contained in:
@@ -4,16 +4,16 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
// Types
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Properties represents a map of node or relationship props.
|
||||
type Properties map[string]any
|
||||
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
// Match Key Provider
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// MatchKeysProvider defines methods for querying a mapping of node labels and
|
||||
// the property keys used to match nodes with them.
|
||||
@@ -46,9 +46,9 @@ func (p *SimpleMatchKeys) GetKeys(label string) ([]string, bool) {
|
||||
return nil, false
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
// Nodes
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Node represents a Neo4j node entity, encapsulating its labels and
|
||||
// properties.
|
||||
@@ -111,9 +111,9 @@ func (n *Node) Serialize() *SerializedNode {
|
||||
return &n.Props
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
// Relationships
|
||||
// ========================================
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Relationship represents a Neo4j relationship between two nodes, including
|
||||
// its type and properties.
|
||||
|
||||
Reference in New Issue
Block a user