Skip to content

Commit

Permalink
fix: fix error in go v1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
crosscode-nl committed Jan 5, 2024
1 parent f6f390d commit f4065b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/snippets/snippets.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func Find(name string) Func {

func List() []string {
result := make([]string, 0, len(registry))
for n, _ := range registry {
for n := range registry {
result = append(result, n)
}
return result
Expand Down

0 comments on commit f4065b5

Please sign in to comment.