flatten dir structure

This commit is contained in:
Don Cote 2019-08-20 17:54:46 -04:00
parent afd5c13a1d
commit 9b67956015
4 changed files with 2 additions and 4 deletions

View File

@ -1,12 +1,10 @@
package main
package awsconfig
import (
"flag"
"io/ioutil"
"log"
"os"
"github.com/FlipsideCrypto/go-aws-config/src/awsconfig"
)
var filepath = flag.String("file", "", "the path to the json file")
@ -37,7 +35,7 @@ func main() {
log.Fatalf("Error reading file %s : %v", *filepath, err)
}
loader := awsconfig.NewAWSLoader(*env, *serviceName)
loader := NewAWSLoader(*env, *serviceName)
if err != nil {
log.Fatalf("Error creating loader: %v", err)
}