Compare commits

...

2 Commits

Author SHA1 Message Date
Bel LaPointe
bff2bd6d2e gitignore 2025-04-04 12:23:43 -06:00
Bel LaPointe
5a74290409 stub 2025-04-04 12:23:27 -06:00
5 changed files with 39 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
**/*.sw*
/show-ingestion

View File

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module gitea/show-ingestion
go 1.23.3

20
main.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
"context"
"os/signal"
"syscall"
)
func main() {
ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT)
defer can()
if err := Run(ctx); err != nil {
panic(err)
}
}
func Run(ctx context.Context) error {
return nil
}

14
main_test.go Normal file
View File

@@ -0,0 +1,14 @@
package main_test
import (
"context"
"testing"
main "gitea/show-ingestion"
)
func TestRun(t *testing.T) {
if err := main.Run(context.Background()); err != nil {
t.Fatal(err)
}
}