Fix typo in README (#227) - viper - [fork] go viper port for 9front
(HTM) git clone git@git.drkhsh.at/viper.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 16990631d4aa7e38f73dbbbf37fa13e67c648531
(DIR) parent 7fb2782df3d83e0036cc89f461ed0422628776f4
(HTM) Author: Albert <albertnigma@gmail.com>
Date: Tue, 30 Aug 2016 19:32:46 +0500
Fix typo in README (#227)
Fixed typo & superfluous white space in README
Diffstat:
M README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/README.md b/README.md
@@ -10,7 +10,7 @@ Many Go projects are built using Viper including:
* [Nanobox](https://github.com/nanobox-io/nanobox)/[Nanopack](https://github.com/nanopack)
* [Docker Notary](https://github.com/docker/Notary)
* [BloomApi](https://www.bloomapi.com/)
-* [doctl(https://github.com/digitalocean/doctl)
+* [doctl](https://github.com/digitalocean/doctl)
[](https://travis-ci.org/spf13/viper) [](https://gitter.im/spf13/viper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -110,7 +110,7 @@ Gone are the days of needing to restart a server to have a config take effect,
viper powered applications can read an update to a config file while running and
not miss a beat.
-Simply tell the viper instance to watchConfig.
+Simply tell the viper instance to watchConfig.
Optionally you can provide a function for Viper to run each time a change occurs.
**Make sure you add all of the configPaths prior to calling `WatchConfig()`**
@@ -298,7 +298,7 @@ type myFlagSet struct {
func (f myFlagSet) VisitAll(fn func(FlagValue)) {
for _, flag := range flags {
- fn(flag)
+ fn(flag)
}
}
```