flamingo.me/flamingo-commerce/v3@v3.11.0/test/integrationtest/projecttest/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  
     7  	"flamingo.me/flamingo-commerce/v3/test/integrationtest/projecttest/helper"
     8  )
     9  
    10  func main() {
    11  	if os.Getenv("RUN") == "1" {
    12  		info := helper.BootupDemoProject("../config")
    13  		<-info.Running
    14  		fmt.Println("Server exited")
    15  	} else {
    16  		fmt.Println("Generating GraphQL")
    17  		helper.GenerateGraphQL()
    18  	}
    19  }