diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2017-12-30 13:57:12 +0100 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2017-12-30 13:57:12 +0100 |
commit | 61071f068b4e7e92beb550014a446a54577ff90e (patch) | |
tree | 81ab83262a5b9a1fbe6b7d89f8f1e691e5898b38 /config | |
parent | 8db6891fc69ac49e005467650c4a5ee9d5766e75 (diff) | |
download | petrific-61071f068b4e7e92beb550014a446a54577ff90e.tar.gz petrific-61071f068b4e7e92beb550014a446a54577ff90e.tar.bz2 petrific-61071f068b4e7e92beb550014a446a54577ff90e.zip |
Use keyed struct fields
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index 7deef69..ecc679a 100644 --- a/config/config.go +++ b/config/config.go @@ -81,7 +81,7 @@ func LoadConfig(path string) (config Config, err error) { } func (c Config) GPGSigner() gpg.Signer { - return gpg.Signer{c.Signing.Key} + return gpg.Signer{Key: c.Signing.Key} } func (c Config) GetStorageMethod(name string) (string, error) { |