goshare/cmd/server/main.go

18 lines
220 B
Go
Raw Normal View History

2024-01-23 19:13:51 +00:00
package main
2024-01-23 19:37:51 +00:00
import (
"context"
"fmt"
"os"
"os/signal"
"git.mzsl.nl/mans/goshare/app"
)
2024-01-23 19:13:51 +00:00
func main() {
2024-01-23 19:37:51 +00:00
app := app.New()
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
defer cancel()
2024-01-23 19:13:51 +00:00
}