diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2018-02-13 01:22:10 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2018-02-13 01:22:10 +0100 |
commit | 8bb62c061174bc9098d7ccf1b6772783f1336ba9 (patch) | |
tree | bc2bcddefe55e52b931924664617b0df5b1f9e48 /progname.go | |
parent | c32d9bf24c3b670c3a56ea55aeefb6232f3d4ec8 (diff) |
combine
Diffstat (limited to 'progname.go')
-rw-r--r-- | progname.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/progname.go b/progname.go deleted file mode 100644 index 5f14ac5..0000000 --- a/progname.go +++ /dev/null @@ -1,16 +0,0 @@ -package main - -import ( - "log" - "os" - "path" -) - -func init() { - log.SetFlags(0) - log.SetPrefix(progName() + ": ") -} - -func progName() string { - return path.Base(os.Args[0]) -} |