mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat: add backend
This commit is contained in:
parent
bc418ff248
commit
a838d994a6
68 changed files with 9561 additions and 0 deletions
12
internal/utils/strings.go
Normal file
12
internal/utils/strings.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package utils
|
||||
|
||||
// StrSliceContains check if slice contains string
|
||||
func StrSliceContains(s []string, str string) bool {
|
||||
for _, v := range s {
|
||||
if v == str {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue