fix: gen provider
This commit is contained in:
@@ -236,4 +236,4 @@ func findParameterByPosition(params []ParamDefinition, position string) *ParamDe
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,11 +24,11 @@ type RouteParser interface {
|
||||
|
||||
// RouteDefinition represents a route definition (simplified for testing)
|
||||
type RouteDefinition struct {
|
||||
StructName string
|
||||
Path string
|
||||
Methods []string
|
||||
Parameters []ParamDefinition
|
||||
Imports map[string]string
|
||||
StructName string
|
||||
Path string
|
||||
Methods []string
|
||||
Parameters []ParamDefinition
|
||||
Imports map[string]string
|
||||
}
|
||||
|
||||
// ParamDefinition represents a parameter definition (simplified for testing)
|
||||
@@ -258,4 +258,4 @@ func findParameterByPosition(params []ParamDefinition, position string) *ParamDe
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user