master
bel 2023-07-16 13:22:40 -06:00
parent 4ebd5a0214
commit 4f9a11f4f9
3 changed files with 29 additions and 0 deletions

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module gogs.inhome.blapointe.com/imicromouse
go 1.19

16
main.go Normal file
View File

@ -0,0 +1,16 @@
package main
import (
"context"
"os/signal"
"gogs.inhome.blapointe.com/imicromouse/src"
)
func main() {
ctx, can := signal.NotifyContext(context.Background())
defer can()
if err := src.Main(ctx); err != nil {
panic(err)
}
}

10
src/main.go Normal file
View File

@ -0,0 +1,10 @@
package src
import (
"context"
"io"
)
func Main(ctx context.Context) error {
return io.EOF
}