Skip to content

Instantly share code, notes, and snippets.

View millerlogic's full-sized avatar
🙄
Abort, retry, ignore?

Chris Miller millerlogic

🙄
Abort, retry, ignore?
View GitHub Profile

Keybase proof

I hereby claim:

  • I am millerlogic on github.
  • I am millerlogic (https://keybase.io/millerlogic) on keybase.
  • I have a public key ASDJCVz8wI8Z6JtA6vt9pM-zO9QOdzZySFst0uBuSmJAqAo

To claim this, I am signing this object:

@millerlogic
millerlogic / flagbytes.go
Last active November 11, 2018 18:30
Human friendly flag byte counts
import (
"flag"
"strings"
humanize "github.com/dustin/go-humanize"
)
type BytesFlagVar struct {
Bytes *uint64
}