Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chacha912 committed Sep 18, 2023
1 parent ac6c2ab commit a0f5906
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/document/crdt/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,11 @@ func (t *Text) CreatePosRange(from, to int) (*RGATreeSplitNodePos, *RGATreeSplit
}

// CreateBoundaryRange returns a pair of RGATreeSplitNodeBoundary of the given pos.
func (t *Text) CreateBoundaryRange(from, to *RGATreeSplitNodePos, editedAt *time.Ticket) (*RGATreeSplitNodeBoundary, *RGATreeSplitNodeBoundary, error) {
func (t *Text) CreateBoundaryRange(
from,
to *RGATreeSplitNodePos,
editedAt *time.Ticket,
) (*RGATreeSplitNodeBoundary, *RGATreeSplitNodeBoundary, error) {
_, fromRight, err := t.rgaTreeSplit.findNodeWithSplit(from, editedAt)
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit a0f5906

Please sign in to comment.