Add initial 'help' page

This commit is contained in:
Fred Boniface
2023-09-01 22:47:46 +01:00
parent 227bdd5dc8
commit 8e7350a355
5 changed files with 83 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ package validation
import "fmt"
func Validate(input string, format string) bool {
rule, exists := formatRules[format]
rule, exists := FormatRules[format]
if !exists {
fmt.Printf("Error: No rule found for format '%s'\n", format)
return false