Fixed some shit

This commit is contained in:
2025-05-12 20:24:55 -04:00
parent e3271ea47a
commit 0aa8065640
10 changed files with 354 additions and 17 deletions

View File

@@ -17,6 +17,10 @@ const (
DEF Format = "default"
)
func ToPtr(format Format) *Format {
return &format
}
func (g *Generator) StringToFormat(string string) (Format, error) {
s := strings.ToLower(string)
switch s {