Fix code formatting in README

This commit is contained in:
Umair Idris 2018-10-04 16:48:36 -04:00 committed by GitHub
parent 62edee3196
commit b3807f4150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -624,11 +624,11 @@ import (
) )
func yamlStringSettings() string { func yamlStringSettings() string {
c := viper.AllSettings() c := viper.AllSettings()
bs, err := yaml.Marshal(c) bs, err := yaml.Marshal(c)
if err != nil { if err != nil {
t.Fatalf("unable to marshal config to YAML: %v", err) t.Fatalf("unable to marshal config to YAML: %v", err)
} }
return string(bs) return string(bs)
} }
``` ```