github.com/jimpick/sp-kyc-checks@v0.0.0-20230201194251-fa84fca72da8/cmd/main.go (about)

     1  package main
     2  
     3  import (
     4  	"context"
     5  	"fmt"
     6  	"log"
     7  	"os"
     8  
     9  	"github.com/jimpick/sp-kyc-checks/internal/testrig"
    10  )
    11  
    12  func main() {
    13  	// Load Google Form responses from data file
    14  	responsesFile := os.Args[1]
    15  	json, err := testrig.RunChecksForFormResponses(context.Background(), responsesFile, false)
    16  	if err != nil {
    17  		log.Fatalln(err)
    18  	}
    19  	fmt.Println(json)
    20  }