From 1ed3e8ffd55cac604a9ed7a815fcc709bbf1c21a Mon Sep 17 00:00:00 2001 From: Maksim Litvinov Date: Wed, 18 Dec 2024 10:23:07 +0200 Subject: [PATCH] update makev --- makev/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makev/main.go b/makev/main.go index 3d7e547..2458c59 100644 --- a/makev/main.go +++ b/makev/main.go @@ -18,7 +18,9 @@ func main() { folder := filepath.Join("o1", name) err := os.MkdirAll(folder, 0755) catch(err) - err = os.WriteFile(filepath.Join(folder, name+".go"), []byte("/*\n\n*/\n\n"), 0644) + err = os.WriteFile(filepath.Join(folder, name+".go"), nil, 0644) + catch(err) + err = os.WriteFile(filepath.Join(folder, name+".txt"), nil, 0644) catch(err) }