aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme/config.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-01-14 01:59:28 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-01-14 01:59:28 +0100
commit5baae40c52a6322a4adbfc92e6336779fd009620 (patch)
tree0e9c18f82f93b86f027f7ea4a0d9d6845900de57 /cmd/acme/config.go
parent6c9e395879e4fae6d0b71f29b7845c7f667f308b (diff)
deadcode
Diffstat (limited to 'cmd/acme/config.go')
-rw-r--r--cmd/acme/config.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/acme/config.go b/cmd/acme/config.go
index 0fbaf7a..3187768 100644
--- a/cmd/acme/config.go
+++ b/cmd/acme/config.go
@@ -2,7 +2,6 @@ package main
import (
"errors"
- "os"
"path"
"strings"
"time"
@@ -149,13 +148,6 @@ func LoadConfig(fname string) (*Config, error) {
return c, nil
}
-func exists(fname string) bool {
- if _, err := os.Stat(fname); os.IsNotExist(err) {
- return false
- }
- return true
-}
-
type duration struct{ time.Duration }
func (d *duration) UnmarshalText(s []byte) error {