Skip to content

Commit

Permalink
chore: fix function name (#313)
Browse files Browse the repository at this point in the history
Signed-off-by: avoidaway <[email protected]>
  • Loading branch information
avoidaway authored Mar 18, 2024
1 parent b3c3104 commit f119656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/series.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ func (s Series[T]) Values() []T {
return s
}

// Lenght returns the number of values in the series
func (s Series[T]) Lenght() int {
// Length returns the number of values in the series
func (s Series[T]) Length() int {
return len(s)
}

Expand Down

0 comments on commit f119656

Please sign in to comment.