Hi Im learning go,

Viewed 41

Here im trying to create a directory with timestamp from one repo that should create directory in another repo, can I get help here?

filepath = "https://github.com/path/to/another/repo"
    if err != nil {
        log.Printf("path error %v", filepath)
    }
    dirName, err := os.Create("logstore")
    if err != nil {
        log.Printf("%v", dirName)
        return File, nil, err
    }
    create:= os.MkdirAll(pathtofile, 0777)

0 Answers
Related