upgrade to go 1.20.4

This commit is contained in:
John Ritsema
2023-06-01 22:07:19 -04:00
parent 2811fdd9cf
commit de19a39a59
4 changed files with 4 additions and 17 deletions

View File

@@ -1 +1 @@
golang 1.19 golang 1.20.4

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module github.com/jritsema/go-htmx-starter
go 1.20

View File

@@ -12,11 +12,6 @@ func main() {
//exit process immediately upon sigterm //exit process immediately upon sigterm
handleSigTerms() handleSigTerms()
//run
if err := run(os.Args, os.Stdout); err != nil {
fmt.Fprintf(os.Stderr, "%s\n", err)
os.Exit(1)
}
} }
func handleSigTerms() { func handleSigTerms() {

11
run.go
View File

@@ -1,11 +0,0 @@
package main
import (
"fmt"
"io"
)
func run(args []string, stdout io.Writer) error {
fmt.Println("hello world")
return nil
}