make path required

This commit is contained in:
ge 2025-04-13 06:41:02 +03:00
parent 4ae38ec2c9
commit 954d71cb3f

View File

@ -7,7 +7,7 @@ import net.http.mime
pub struct CodeGenerator { pub struct CodeGenerator {
pub: pub:
// Path to file or directory to embed // Path to file or directory to embed
path string path string @[required]
// Path prefix if you want to add extra prefix for file paths // Path prefix if you want to add extra prefix for file paths
prefix string prefix string
// Glob patterns to match files the must be ignored when generating the code // Glob patterns to match files the must be ignored when generating the code