aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-03 22:39:06 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-03 22:39:06 +0100
commit166a7d6ea2db4c527f96740af4339d3e739bd163 (patch)
treea8b35884161f339070a64a3d0a77560eb2e6e863 /cmd
parent346b6afd87fb1eb3572d7e57411944e6c39bc2ab (diff)
Remove dead code
Diffstat (limited to 'cmd')
-rw-r--r--cmd/acme/config.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmd/acme/config.go b/cmd/acme/config.go
index f1b6999..d7fc650 100644
--- a/cmd/acme/config.go
+++ b/cmd/acme/config.go
@@ -63,19 +63,6 @@ var (
errNoMail = errors.New("no mail specified")
)
-func DumpYAML(c *Config) (string, error) {
- out, err := yaml.Marshal(c)
- return string(out), err
-}
-
-/*
-func DumpTOML(c *Config) (string, error) {
- buf := &bytes.Buffer{}
- err := toml.NewEncoder(buf).Encode(c)
- return buf.String(), err
-}
-*/
-
func expandHome(p string) (string, error) {
if strings.HasPrefix(p, "~") {
usr, err := user.Current()