We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc20d95 commit 558c3eeCopy full SHA for 558c3ee
abineundo/ref/main.go
@@ -1,3 +1,4 @@
1
+// Package main generate necessary files that needed for compiling
2
package main
3
4
import (
@@ -30,7 +31,7 @@ func main() {
30
31
tgtf := path.Join(*root, "abineundo/ref/custom/register.go")
32
if _, err := os.Stat(regf); err != nil {
33
if os.IsNotExist(err) {
- _ = os.WriteFile(tgtf, []byte("package custom\n"), 0644)
34
+ _ = os.WriteFile(tgtf, []byte("// Package custom ...\npackage custom\n"), 0644)
35
return
36
}
37
panic(err)
0 commit comments