diff options
author | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:37 -0500 |
---|---|---|
committer | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:37 -0500 |
commit | 15c0b25d011f37e7c20aeca9eaf461f78285b8d9 (patch) | |
tree | 255c250a5c9d4801c74092d33b7337d8c14438ff /vendor/github.com/go-ini/ini/README.md | |
parent | 07971ca38143c5faf951d152fba370ddcbe26ad5 (diff) | |
download | terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.gz terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.zst terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.zip |
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
Updated via: go get github.com/hashicorp/terraform@sdk-v0.11-with-go-modules and go mod tidy
Diffstat (limited to 'vendor/github.com/go-ini/ini/README.md')
-rw-r--r-- | vendor/github.com/go-ini/ini/README.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/github.com/go-ini/ini/README.md b/vendor/github.com/go-ini/ini/README.md index 22a4234..8594742 100644 --- a/vendor/github.com/go-ini/ini/README.md +++ b/vendor/github.com/go-ini/ini/README.md | |||
@@ -1,4 +1,4 @@ | |||
1 | INI [![Build Status](https://travis-ci.org/go-ini/ini.svg?branch=master)](https://travis-ci.org/go-ini/ini) | 1 | INI [![Build Status](https://travis-ci.org/go-ini/ini.svg?branch=master)](https://travis-ci.org/go-ini/ini) [![Sourcegraph](https://sourcegraph.com/github.com/go-ini/ini/-/badge.svg)](https://sourcegraph.com/github.com/go-ini/ini?badge) |
2 | === | 2 | === |
3 | 3 | ||
4 | ![](https://avatars0.githubusercontent.com/u/10216035?v=3&s=200) | 4 | ![](https://avatars0.githubusercontent.com/u/10216035?v=3&s=200) |
@@ -106,6 +106,12 @@ cfg, err := LoadSources(LoadOptions{AllowBooleanKeys: true}, "my.cnf")) | |||
106 | 106 | ||
107 | The value of those keys are always `true`, and when you save to a file, it will keep in the same foramt as you read. | 107 | The value of those keys are always `true`, and when you save to a file, it will keep in the same foramt as you read. |
108 | 108 | ||
109 | To generate such keys in your program, you could use `NewBooleanKey`: | ||
110 | |||
111 | ```go | ||
112 | key, err := sec.NewBooleanKey("skip-host-cache") | ||
113 | ``` | ||
114 | |||
109 | #### Comment | 115 | #### Comment |
110 | 116 | ||
111 | Take care that following format will be treated as comment: | 117 | Take care that following format will be treated as comment: |