Add godot linter to harmonitze toplevel comments (#3650)

This commit is contained in:
Robert Kaussow
2024-05-13 22:58:21 +02:00
committed by GitHub
parent 83eba294c7
commit 89e100cfd1
144 changed files with 302 additions and 302 deletions

View File

@@ -14,7 +14,7 @@
package utils
// Paginate iterates over a func call until it does not return new items and return it as list
// Paginate iterates over a func call until it does not return new items and return it as list.
func Paginate[T any](get func(page int) ([]T, error)) ([]T, error) {
items := make([]T, 0, 10)
page := 1

View File

@@ -32,7 +32,7 @@ func MergeSlices[T any](slices ...[]T) []T {
return result
}
// EqualSliceValues compare two slices if they have equal values independent of how they are sorted
// EqualSliceValues compare two slices if they have equal values independent of how they are sorted.
func EqualSliceValues[E comparable](s1, s2 []E) bool {
if len(s1) != len(s2) {
return false

View File

@@ -14,7 +14,7 @@
package utils
// DeduplicateStrings deduplicate string list, empty items are dropped
// DeduplicateStrings deduplicate string list, empty items are dropped.
func DeduplicateStrings(src []string) []string {
m := make(map[string]struct{}, len(src))
dst := make([]string, 0, len(src))