update go mod

This commit is contained in:
Asim Aslam
2021-03-01 20:46:24 +00:00
parent 9bb28e3a2c
commit 31622e1771
6 changed files with 10 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ func saveSpec(originalMarkDown []byte, contentDir, serviceName string, spec *ope
err := ioutil.WriteFile(contentFile, append([]byte("---\ntitle: "+serviceName+v.titlePostFix+"\nservicename: "+serviceName+"\nlabels: "+tagsString+"\n---\n"), app...), 0777)
if err != nil {
fmt.Printf("Failed to write post content to %v:\n%v\n", err)
fmt.Printf("Failed to write post content to %v:\n%v\n", contentFile, err)
os.Exit(1)
}
fi, err := os.OpenFile(contentFile, os.O_APPEND|os.O_WRONLY, os.ModeAppend)