Skip to content

Instantly share code, notes, and snippets.

View fpersson's full-sized avatar

Fredrik Persson fpersson

View GitHub Profile

AppImage in Golang

Wondering whether it would be a good idea to re-implement AppImage tools in Golang.

Advantages:

  • Maintainable, easy code (unlike "modern C++")
  • Short compilation times
  • Statically linked binaries, no dependencies
  • Synergies with snap?
  • Fun?
@dsggregory
dsggregory / exec.go
Created March 13, 2022 15:05
Golang example of an exec streaming the output
package myexec
import (
"bufio"
"bytes"
"context"
"fmt"
"io"
"os"
"os/exec"