mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 15:17:36 +00:00
chore: apply linting
This commit is contained in:
@@ -566,9 +566,9 @@ func GetFileMode(key string) fs.FileMode {
|
||||
return fs.FileMode(mode)
|
||||
}
|
||||
|
||||
func contains[T string](ts []T, t T) bool {
|
||||
func contains(ts []T, t T) bool {
|
||||
for _, v := range ts {
|
||||
if reflect.DeepEqual(v,t) {
|
||||
if reflect.DeepEqual(v, t) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user