Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions cmd/entire/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,8 @@ import (
)

func main() {
// Create context that cancels on interrupt
ctx, cancel := context.WithCancel(context.Background())

// Handle interrupt signals
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
go func() {
<-sigChan
cancel()
}()
// Create context that cancels on interrupt signals
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)

// Create and execute root command
rootCmd := cli.NewRootCmd()
Expand Down
1 change: 1 addition & 0 deletions prototype/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
checkpoint-viewer
3 changes: 3 additions & 0 deletions prototype/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/entireio/checkpoint-viewer

go 1.25
730 changes: 730 additions & 0 deletions prototype/index.html

Large diffs are not rendered by default.

Loading