INNER CODE UNIT · Go

main

volodymyrprokopyuk/go-blockchain · main.go:13

func main() {
  ctx, cancel := signal.NotifyContext(
    context.Background(), syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL,
  )
  defer cancel()
  cmd := cli.ChainCmd(ctx)
  err := cmd.Execute()
  if err != nil {
    fmt.Println(err)
    os.Exit(1)
  }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…