Skip to content

Specify module name and package versions when create app from model file #117

@yxuco

Description

@yxuco

When creating app from a model file, I want to provide a go.mod file that specifies the app's module name and versions of some required packages, and so the generated source code will use the provided file as the base go.mod. For example, flogo create command can accept the following input file, and so the generated source code will use the specified module name and forked package repo version for flogo core and flow.

module github.com/myorg/myproj/myapp
go 1.14
replace github.com/project-flogo/core => github.com/myfork/core v1.2.1
replace github.com/project-flogo/flow => github.com/myfork/flow v1.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions