Added unit tests and workflow call for same

This commit is contained in:
2025-07-24 11:37:38 +02:00
parent 5d8d0050cd
commit 7564c9fb3a
7 changed files with 115 additions and 20 deletions

15
functions/flagcheck.go Normal file
View File

@@ -0,0 +1,15 @@
package functions
import (
"flag"
)
func FlagSet(name string) (found bool) {
found = false
flag.Visit(func (f *flag.Flag) {
if f.Name == name {
found = true
}
})
return
}