Skip to content

Commit ee541b8

Browse files
committed
TinyGo 0.35 no longer requires main for components
Signed-off-by: itowlson <[email protected]>
1 parent 2589812 commit ee541b8

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

templates/http-go/content/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ func init() {
1313
fmt.Fprintln(w, "Hello Fermyon!")
1414
})
1515
}
16-
17-
func main() {}

templates/redis-go/content/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ func init() {
1414
return nil
1515
})
1616
}
17-
18-
// main functiion must be included for the compiler but is not executed.
19-
func main() {}

0 commit comments

Comments
 (0)