We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd47051 commit e0713f3Copy full SHA for e0713f3
pkg/gotask/generator.go
@@ -96,9 +96,9 @@ func body(namespace *string, class *Class) string {
96
}
97
98
func generatePHP(receiver interface{}) error {
99
- namespace := property(receiver, "Namespace", "App\\GoTask")
+ namespace := property(receiver, "PHPNamespace", "App\\GoTask")
100
class := reflectStruct(receiver)
101
- dirPath := property(receiver, "Path", "./../app/GoTask")
+ dirPath := property(receiver, "PHPPath", "./../app/GoTask")
102
err := os.MkdirAll(dirPath, os.FileMode(0755))
103
if err != nil {
104
return errors.Wrap(err, "cannot create dir for php files")
0 commit comments