vendor/github.com/spf13/viper/TROUBLESHOOTING.md
changeset 260 445e01aede7e
parent 256 6d9efbef00a9
equal deleted inserted replaced
259:db4911b0c721 260:445e01aede7e
    19 
    19 
    20 The solution is easy: switch to using Go Modules.
    20 The solution is easy: switch to using Go Modules.
    21 Please refer to the [wiki](https://github.com/golang/go/wiki/Modules) on how to do that.
    21 Please refer to the [wiki](https://github.com/golang/go/wiki/Modules) on how to do that.
    22 
    22 
    23 **tl;dr* `export GO111MODULE=on`
    23 **tl;dr* `export GO111MODULE=on`
       
    24 
       
    25 ## Unquoted 'y' and 'n' characters get replaced with _true_ and _false_ when reading a YAML file
       
    26 
       
    27 This is a YAML 1.1 feature according to [go-yaml/yaml#740](https://github.com/go-yaml/yaml/issues/740).
       
    28 
       
    29 Potential solutions are:
       
    30 
       
    31 1. Quoting values resolved as boolean
       
    32 1. Upgrading to YAML v3 (for the time being this is possible by passing the `viper_yaml3` tag to your build)