App structure

Every Flogo app has the same basic structure and files for an application.

my_app/
    flogo.json
    src/
        my_app/
            imports.go
            main.go
    vendor/

files

The most important files are

  • flogo.json : flogo project application configuration descriptor file
  • imports.go : contains go imports for contributions (activities, triggers and models) used by the application
  • main.go : main file for the engine.

directories

The most important directories are

  • src : the place where all code is stored
  • vendor : the place where go libraries are stored