mirror of
https://github.com/MizuchiLabs/mantrae.git
synced 2026-05-12 20:09:40 -05:00
use fprintf
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ func main() {
|
||||
|
||||
for _, strct := range types {
|
||||
schema := zen.StructToZodSchema(strct, zen.WithCustomTypes(customTypeHandlers))
|
||||
builder.WriteString(fmt.Sprintf("%s\n", schema))
|
||||
fmt.Fprintf(&builder, "%s\n", schema)
|
||||
}
|
||||
|
||||
if err := os.MkdirAll(filepath.Dir(output), 0o750); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user